MOdif de Bilou qui commite pas

darcs-hash:20050916074804-d1718-3b98d29590a14e06fd511f4c6f0364f42a0271ab.gz
This commit is contained in:
bernat 2005-09-16 09:48:04 +02:00
parent ece6ae3682
commit 48063f35ac

View file

@ -3,7 +3,7 @@
import sys import sys
sys.path.append('/usr/scripts/gestion') sys.path.append('/usr/scripts/gestion')
from whos import borne_clients, borne_etat from whos import borne_etat, borne_clients_canal
from ldap_crans import crans_ldap from ldap_crans import crans_ldap
from time import sleep from time import sleep
from affich_tools import coul from affich_tools import coul
@ -72,7 +72,7 @@ class interroge_borne (threading.Thread) :
return return
clients = borne_clients_canal(nom)['mac-rssi'] clients = borne_clients_canal(nom)['mac-rssi']
for (mac, rssi) in clients : for (mac, rssi) in clients :
if not self.mac or self.mac == mac.lower() : if not self.mac.upper() or self.mac == mac.upper() :
self.aff_client(mac,rssi) self.aff_client(mac,rssi)
# on onterroge trois fois car il donne pas toujours les clients # on onterroge trois fois car il donne pas toujours les clients