From cf7c0b54bb6b43fb23a01690731c11c1ca26fbae Mon Sep 17 00:00:00 2001 From: bernat Date: Sat, 11 Mar 2006 16:51:05 +0100 Subject: [PATCH] Utilisation de la methode hotspot() darcs-hash:20060311155105-d1718-f1f950e034de3c6477f120c9c95addc572a0919f.gz --- wifi/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/status.py b/wifi/status.py index d08563c1..cfb0b43c 100755 --- a/wifi/status.py +++ b/wifi/status.py @@ -32,7 +32,7 @@ for b in bornes: continue # Est-ce un hotspot ? - hotspot = "crans_hotspot=1" in b.info() and 1 or 0 + hotspot = b.hotspot() and 1 or 0 # Est-ce que la borne est up ? if os.system("/usr/local/sbin/fping -q %s || /usr/local/sbin/fping -q %s" % ((b.nom(),)*2)) == 0: up = 1