summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2016-11-06 09:44:07 +0100
committerGitHub <noreply@github.com>2016-11-06 09:44:07 +0100
commit219f047bf359ce94397241b875639f3aaddb0fe5 (patch)
treed280939d600e5769d3847df009a1559bf25c972a /searx/search.py
parent01e2648e93e718f84c77aed16326a14f2b498a2e (diff)
parent7d26b3f8f8659491d3da94aeb71bd0d9b5f7a257 (diff)
downloadsearxng-219f047bf359ce94397241b875639f3aaddb0fe5.tar.gz
searxng-219f047bf359ce94397241b875639f3aaddb0fe5.zip
Merge branch 'master' into searchpy2
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index 360e0fe91..f01f2d9c7 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -323,7 +323,8 @@ class Search(object):
engine = engines[selected_engine['name']]
# skip suspended engines
- if engine.suspend_end_time and engine.suspend_end_time <= time():
+ if engine.suspend_end_time >= time():
+ logger.debug('Engine currently suspended: %s', selected_engine['name'])
continue
# if paging is not supported, skip