Affichage plus joli
darcs-hash:20041002085123-d1718-01cc4e97a335f0baca754d6de53640231509f226.gz
This commit is contained in:
parent
8ec2d97b23
commit
7e334fb54f
1 changed files with 2 additions and 2 deletions
|
@ -568,11 +568,11 @@ def prise_macs(chbre) :
|
|||
# On ajoute une partie des adresses MAC qui sont sur la prise
|
||||
conn = sw_chbre(chbre)
|
||||
result = conn.show_prise_mac()
|
||||
f += ',\n\t\t'
|
||||
f += ', '
|
||||
if len(result) == 0:
|
||||
f += coul('aucune MAC détectée', 'rouge')
|
||||
else:
|
||||
f += 'MACs: %s' % ", ".join(result[0:2])
|
||||
f += '\n\t\tMACs: %s' % ", ".join(result[0:2])
|
||||
if len(result) > 3:
|
||||
f += ' [...]'
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue