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__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index 1810f1c50..a439c355b 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -87,6 +87,7 @@ def load_engine(engine_data):
continue
if engine_attr == 'init':
init_fn = getattr(engine, engine_attr)
+
def engine_init():
init_fn()
logger.debug('%s engine initialized', engine_data['name'])