From e4857523d01ad769080c6d5be0daef5ca7447029 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Mon, 1 Jun 2015 13:18:00 +0200 Subject: [PATCH] =?UTF-8?q?On=20a=20chang=C3=A9=20le=20nom=20des=20xml=20w?= =?UTF-8?q?ifi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 1ff77bb2..9bb08e6b 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/alone/', host) + '.xml' + path = os.path.join('/usr/scripts/var/wifi_xml/alone/', host) + '.wifi.crans.org.xml' with open(path, 'r') as f: doc = xml.dom.minidom.parse(f)