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)