From 273489b55717213ca2899146b65f6a1cb6b2cabb Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 26 Feb 2023 21:31:29 +0800 Subject: [PATCH] Update webapp1.py --- searx/webapp1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp1.py b/searx/webapp1.py index 8f2fd6e1d..a1e5002a2 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.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'''