[whosthere] Changement de path des xml des bornes

This commit is contained in:
Vincent Le Gallic 2015-03-16 19:34:18 +01:00
parent cdf2c98228
commit 891fae63f6

View file

@ -118,7 +118,7 @@ class WhosThere(object):
def populate_from_ap(self, host): def populate_from_ap(self, host):
"""Rempli les macs à partir de la prise d'un switch""" """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: with open(path, 'r') as f:
doc = xml.dom.minidom.parse(f) doc = xml.dom.minidom.parse(f)