From 327ae9002e3971a4f3d350d0cd743de85bdcd8fc Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 26 Feb 2023 21:31:19 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 8f2fd6e1d..a1e5002a2 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -729,7 +729,7 @@ def search(): gpt_judge = [] for tmpj in gpt.split(): try: - gpt_judge = json.load(tmpj) + gpt_judge = json.loads(tmpj) except:pass if len(gpt_judge)==3 and gpt_judge[0] in acts and gpt_judge[2] != '' and (gpt_judge[1]=='是' or gpt_judge[1]=='True' or gpt_judge[1]=='true'): @@ -939,7 +939,7 @@ button.btn_more { const original_search_query = "''' + original_search_query.replace('"',"") + r'''" const search_queryquery = "''' + search_query.query.replace('"',"") + r'''" const search_type = "''' + search_type + r'''" -const net_search = "''' + net_search_str + r'''" +const net_search = ''' + net_search_str + r'''