summaryrefslogtreecommitdiff
path: root/searx/webapp.py
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 /searx/webapp.py
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 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index ad9372915..2a763292d 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -562,7 +562,7 @@ def index():
raw_text_query = None
result_container = None
try:
- search_query, raw_text_query = get_search_query_from_webapp(request.preferences, request.form)
+ search_query, raw_text_query, _, _ = get_search_query_from_webapp(request.preferences, request.form)
# search = Search(search_query) # without plugins
search = SearchWithPlugins(search_query, request.user_plugins, request)