mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
issue found
This commit is contained in:
parent
ab2f49a538
commit
1d97ecdb56
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ def response(resp):
|
|||
# sys.stdout = f
|
||||
# print(json_resp)
|
||||
|
||||
#the json.loads below sometimes fails. because some keys in the json_resp (especialy the clear_description) may contain unescaped double quotes for example, in which case the json is not valid...
|
||||
json_resp2 = json.loads(json_resp.encode("UTF-8"))
|
||||
|
||||
# # save to a file
|
||||
|
|
Loading…
Add table
Reference in a new issue