On ne cherche les clients d'une borne que si elle est allume.
Rindentation avec des espaces. darcs-hash:20050220171238-d1718-d1fb1e79737fda90992ba9c5d000786ba646b4fc.gz
This commit is contained in:
parent
14df54ae6d
commit
a545844eeb
1 changed files with 512 additions and 511 deletions
|
@ -439,8 +439,6 @@ def machine_details(machine) :
|
|||
f += coul(u'\tÉtat : ', 'gras')
|
||||
if borne_etat(machine.nom()):
|
||||
f += coul(u'borne active', 'vert')
|
||||
else:
|
||||
f += coul(u'borne éteinte','rouge')
|
||||
f += '\n'
|
||||
# S'il y a des clients, on les liste
|
||||
clients = borne_clients(machine.nom())
|
||||
|
@ -462,6 +460,9 @@ def machine_details(machine) :
|
|||
coul_rssi = 'rouge'
|
||||
f += u' %s (%s) (RSSI: %s)\n' % (client, client_nom,
|
||||
coul("%d" % rssi, coul_rssi))
|
||||
else:
|
||||
f += coul(u'borne éteinte','rouge')
|
||||
f += '\n'
|
||||
|
||||
|
||||
if aff_ipsec and machine.ipsec() :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue