fix handling of single value text response
This commit is contained in:
parent
3dce5bca3b
commit
40ab11eadf
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue