|
@@ -274,7 +274,8 @@ class Search(object):
|
274
|
274
|
engine = engines[selected_engine['name']]
|
275
|
275
|
|
276
|
276
|
# skip suspended engines
|
277
|
|
- if engine.suspend_end_time and engine.suspend_end_time <= time():
|
|
277
|
+ if engine.suspend_end_time >= time():
|
|
278
|
+ logger.debug('Engine currently suspended: %s', selected_engine['name'])
|
278
|
279
|
continue
|
279
|
280
|
|
280
|
281
|
# if paging is not supported, skip
|