summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-22 16:55:59 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-22 18:59:51 +0200
commit691d12726be1411d8c80895e927293bdcc3e9572 (patch)
tree37007ff7216726d9d5476db285d9c2d8a01d047d /utils
parenteecfff268913045f957c0fceb2a1caf56f236a1f (diff)
downloadsearxng-691d12726be1411d8c80895e927293bdcc3e9572.tar.gz
searxng-691d12726be1411d8c80895e927293bdcc3e9572.zip
[mod] check the engine tokens in searx/webadapter.py instead of searx/search.py
Diffstat (limited to 'utils')
-rwxr-xr-xutils/standalone_searx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/standalone_searx.py b/utils/standalone_searx.py
index 2ca3fea56..d969c398d 100755
--- a/utils/standalone_searx.py
+++ b/utils/standalone_searx.py
@@ -65,7 +65,7 @@ form = {
preferences = searx.preferences.Preferences(['oscar'], searx.engines.categories.keys(), searx.engines.engines, [])
preferences.key_value_settings['safesearch'].parse(args.safesearch)
-search_query, raw_text_query = searx.webadapter.get_search_query_from_webapp(preferences, form)
+search_query, raw_text_query, _, _ = searx.webadapter.get_search_query_from_webapp(preferences, form)
search = searx.search.Search(search_query)
result_container = search.search()