On a changé le nom des xml wifi

This commit is contained in:
Gabriel Detraz 2015-06-01 13:18:00 +02:00
parent 9078c80d34
commit e4857523d0

View file

@ -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)