fix handling of single value text response

This commit is contained in:
foamyguy 2025-07-21 15:29:12 -05:00
parent 3dce5bca3b
commit 40ab11eadf

View file

@ -698,7 +698,7 @@ class NetworkBase:
for regexp in regexp_path: for regexp in regexp_path:
values.append(re.search(regexp, text).group(1)) values.append(re.search(regexp, text).group(1))
else: else:
values = text values.append(text)
return values return values
def process_json(self, json_data, json_path): def process_json(self, json_data, json_path):