From 48063f35acdc0c91e53593c6f64af51593d28b38 Mon Sep 17 00:00:00 2001 From: bernat Date: Fri, 16 Sep 2005 09:48:04 +0200 Subject: [PATCH] MOdif de Bilou qui commite pas darcs-hash:20050916074804-d1718-3b98d29590a14e06fd511f4c6f0364f42a0271ab.gz --- gestion/tools/locate-wifi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/tools/locate-wifi.py b/gestion/tools/locate-wifi.py index 38f969fa..f9c38dce 100755 --- a/gestion/tools/locate-wifi.py +++ b/gestion/tools/locate-wifi.py @@ -3,7 +3,7 @@ import sys 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 time import sleep from affich_tools import coul @@ -72,7 +72,7 @@ class interroge_borne (threading.Thread) : return clients = borne_clients_canal(nom)['mac-rssi'] 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) # on onterroge trois fois car il donne pas toujours les clients