diff options
author | Alexandre Flament <alex@al-f.net> | 2016-11-06 09:44:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-06 09:44:07 +0100 |
commit | 219f047bf359ce94397241b875639f3aaddb0fe5 (patch) | |
tree | d280939d600e5769d3847df009a1559bf25c972a /searx/search.py | |
parent | 01e2648e93e718f84c77aed16326a14f2b498a2e (diff) | |
parent | 7d26b3f8f8659491d3da94aeb71bd0d9b5f7a257 (diff) | |
download | searxng-219f047bf359ce94397241b875639f3aaddb0fe5.tar.gz searxng-219f047bf359ce94397241b875639f3aaddb0fe5.zip |
Merge branch 'master' into searchpy2
Diffstat (limited to 'searx/search.py')
-rw-r--r-- | searx/search.py | 3 |
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 |