From b50c23cc9f6d70bfd92a595d975fb489a2c80139 Mon Sep 17 00:00:00 2001 From: bernat Date: Fri, 10 Feb 2006 22:52:57 +0100 Subject: [PATCH] Il manquait une paire de parenthses darcs-hash:20060210215257-d1718-9b8ae964bea7ab218d427f86269e3c8f979fa1ba.gz --- wifi/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/status.py b/wifi/status.py index 808e0ac6..d7fb273d 100755 --- a/wifi/status.py +++ b/wifi/status.py @@ -34,7 +34,7 @@ for b in bornes: # Est-ce un hotspot ? hotspot = "crans_hotspot=1" in b.info() 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: + if os.system("/usr/local/sbin/fping -q %s || /usr/local/sbin/fping -q %s" % ((b.nom(),)*2)) == 0: up = 1 else: up = 0