From 891fae63f69d7550fb375e28dc7ef84dbc5b1930 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 16 Mar 2015 19:34:18 +0100 Subject: [PATCH] [whosthere] Changement de path des xml des bornes --- gestion/tools/whosthere.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/tools/whosthere.py b/gestion/tools/whosthere.py index 0e2eac0b..1ff77bb2 100755 --- a/gestion/tools/whosthere.py +++ b/gestion/tools/whosthere.py @@ -118,7 +118,7 @@ class WhosThere(object): def populate_from_ap(self, host): """Rempli les macs à partir de la prise d'un switch""" - path = os.path.join('/usr/scripts/var/wifi_xml/', host) + '.xml' + path = os.path.join('/usr/scripts/var/wifi_xml/alone/', host) + '.xml' with open(path, 'r') as f: doc = xml.dom.minidom.parse(f)