tools/ios_convert: Use tag instead of text for IsHotspot

The IsHotspot key just contains a tag after it (true/false), not
a tag with inner text.
This commit is contained in:
James Prestwood 2019-08-22 15:37:21 -04:00 committed by Denis Kenzior
parent 54a5791195
commit b05689fc81
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def process_payload_array(parray):
network.nai_realms.append(nai_array[i].text)
continue
elif parray[l].text == "IsHotspot":
if parray[l + 1].text == "True":
if parray[l + 1].tag.lower() == "true":
network.is_hotspot = True
else:
network.is_hotspot = False