summaryrefslogtreecommitdiff
path: root/searx/engines/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r--searx/engines/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index a439c355b..48c9b7e4a 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -94,6 +94,8 @@ def load_engine(engine_data):
logger.debug('Starting background initialization of %s engine', engine_data['name'])
threading.Thread(target=engine_init).start()
continue
+ if engine_attr == 'inactive' and getattr(engine, engine_attr) is True:
+ return None
if getattr(engine, engine_attr) is None:
logger.error('Missing engine config attribute: "{0}.{1}"'
.format(engine.name, engine_attr))