From b05689fc814e727301573e3617ed9f07d4f02ea4 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 22 Aug 2019 15:37:21 -0400 Subject: [PATCH] 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. --- tools/ios_convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ios_convert.py b/tools/ios_convert.py index 7f729e53..0b5ff0b9 100755 --- 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