Merge pull request #109 from FoamyGuy/text_content_fix
fix handling of single value text response
This commit is contained in:
commit
bbae5e4191
1 changed files with 1 additions and 1 deletions
|
|
@ -698,7 +698,7 @@ class NetworkBase:
|
|||
for regexp in regexp_path:
|
||||
values.append(re.search(regexp, text).group(1))
|
||||
else:
|
||||
values = text
|
||||
values.append(text)
|
||||
return values
|
||||
|
||||
def process_json(self, json_data, json_path):
|
||||
|
|
|
|||
Loading…
Reference in a new issue