commit: 343ac7197d9e6468b52be38b73e7d59045bbe909
parent: 78365ffb8a083ca3e3ea905db12bdac9f273f460
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 6 Jun 2017 23:37:42 +0200
[fix] pep8
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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'])