diff --git a/gestion/whos.py b/gestion/whos.py index ab5d3d4a..eba47293 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -45,6 +45,8 @@ try: except: pass +base = None + from ldap_crans import is_actif , crans_ldap, ann_scol, crans, hostname from affich_tools import * from hptools import sw_chbre @@ -430,7 +432,7 @@ def machine_details(machine) : f += '\n' # S'il y a des clients, on les liste clients = borne_clients(machine.nom()) - if clients: + if clients and base: f += coul(u'Clients : \n','gras') for (client, rssi) in clients: # On va chercher le nom correspondant à l'adresse MAC