summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-12-15 11:59:21 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-12-15 11:59:21 +0100
commitcf5c7d050a757123d362891fe13e15781d3fc029 (patch)
treeda0a293a3895b2a90b46fda8ea09e03916469990 /searx/search.py
parente58949b76fac7aa93341523ff0e2f35e0a03e057 (diff)
downloadsearxng-cf5c7d050a757123d362891fe13e15781d3fc029.tar.gz
searxng-cf5c7d050a757123d362891fe13e15781d3fc029.zip
[fix] engine setting if no categories specified
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index cef42d876..ee04b27f5 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -258,7 +258,7 @@ def get_search_query_from_webapp(preferences, form):
if not load_default_categories:
if not query_categories:
query_categories = list(set(engine['category']
- for engine in engines))
+ for engine in query_engines))
else:
# if no category is specified for this search,
# using user-defined default-configuration which