Skip to content

Commit 40ab11e

Browse files
committed
fix handling of single value text response
1 parent 3dce5bc commit 40ab11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_portalbase/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def process_text(text, regexp_path):
698698
for regexp in regexp_path:
699699
values.append(re.search(regexp, text).group(1))
700700
else:
701-
values = text
701+
values.append(text)
702702
return values
703703

704704
def process_json(self, json_data, json_path):

0 commit comments

Comments
 (0)