Skip to content

Commit bbae5e4

Browse files
authored
Merge pull request #109 from FoamyGuy/text_content_fix
fix handling of single value text response
2 parents 3dce5bc + 40ab11e commit bbae5e4

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)