En tant que module, pas d'accs la base
darcs-hash:20041019090018-d1718-ede4d3e64c428ab38350cee4c0b80e84abbcf037.gz
This commit is contained in:
parent
1334934947
commit
4aed0bc5c2
1 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,8 @@ try:
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
base = None
|
||||||
|
|
||||||
from ldap_crans import is_actif , crans_ldap, ann_scol, crans, hostname
|
from ldap_crans import is_actif , crans_ldap, ann_scol, crans, hostname
|
||||||
from affich_tools import *
|
from affich_tools import *
|
||||||
from hptools import sw_chbre
|
from hptools import sw_chbre
|
||||||
|
@ -430,7 +432,7 @@ def machine_details(machine) :
|
||||||
f += '\n'
|
f += '\n'
|
||||||
# S'il y a des clients, on les liste
|
# S'il y a des clients, on les liste
|
||||||
clients = borne_clients(machine.nom())
|
clients = borne_clients(machine.nom())
|
||||||
if clients:
|
if clients and base:
|
||||||
f += coul(u'Clients : \n','gras')
|
f += coul(u'Clients : \n','gras')
|
||||||
for (client, rssi) in clients:
|
for (client, rssi) in clients:
|
||||||
# On va chercher le nom correspondant à l'adresse MAC
|
# On va chercher le nom correspondant à l'adresse MAC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue