On a changé le nom des xml wifi
This commit is contained in:
parent
9078c80d34
commit
e4857523d0
1 changed files with 1 additions and 1 deletions
|
@ -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/alone/', host) + '.xml'
|
path = os.path.join('/usr/scripts/var/wifi_xml/alone/', host) + '.wifi.crans.org.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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue