Quand personne n'est loggu ne plante pas.
darcs-hash:20050807095622-41617-43cfe646e87d6a2ef1372388f4b6057b0876919e.gz
This commit is contained in:
parent
eb4a76fff6
commit
8acf292de0
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import sre, commands
|
||||||
|
|
||||||
# pour chaque ligne du w
|
# pour chaque ligne du w
|
||||||
for w in commands.getoutput("w -h").split('\n') :
|
for w in commands.getoutput("w -h").split('\n') :
|
||||||
|
if not w : continue
|
||||||
# on splite
|
# on splite
|
||||||
w = sre.split(' *', w)
|
w = sre.split(' *', w)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue