commit b05689fc814e727301573e3617ed9f07d4f02ea4
parent 54a5791195b08be37df46f05fb0f3fe50933ba98
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 22 Aug 2019 15:37:21 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/ios_convert.py b/tools/ios_convert.py
@@ -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