diff --git a/wifi/status.py b/wifi/status.py index e5c23837..d3481ecc 100755 --- a/wifi/status.py +++ b/wifi/status.py @@ -17,7 +17,7 @@ from ldap_crans import crans_ldap l = crans_ldap() # On commence le fichier XML -print '' % time.time() +print '' % time.strftime("%c") # On récupère l'ensemble des bornes bornes = l.search('host=*.wifi.crans.org&canal=*')['machine'] @@ -61,7 +61,7 @@ for b in bornes: position = filter(lambda x: x.startswith(""), b.info()) if position: position = position[0].replace("","").split(" ") - print ' ' % (position[0], position[1]) + print ' ' % (position[1], position[0]) print '' print ''