diff --git a/autologout.py b/autologout.py index 9f6fb529..6abbd19d 100755 --- a/autologout.py +++ b/autologout.py @@ -4,7 +4,7 @@ import sre, commands # pour chaque ligne du w for w in commands.getoutput("w -h").split('\n') : - + if not w : continue # on splite w = sre.split(' *', w)