diff --git a/wifi/status.py b/wifi/status.py index 97d1472e..bd670870 100644 --- a/wifi/status.py +++ b/wifi/status.py @@ -44,7 +44,7 @@ for b in bornes: # Est-ce un hotspot ? hotspot = b.hotspot() and 1 or 0 # Est-ce que la borne est up ? - if os.system("/usr/sbin/fping -q %s 2> /dev/null" % b.nom()) == 0: + if os.system("/usr/bin/fping -q %s 2> /dev/null" % b.nom()) == 0: up = 1 else: up = 0