1
0
mirror of https://github.com/searx/searx synced 2024-12-11 08:25:27 +01:00

[fix] pep8

This commit is contained in:
Adam Tauber 2017-06-06 23:37:42 +02:00
parent 78365ffb8a
commit 343ac7197d

View File

@ -87,6 +87,7 @@ def load_engine(engine_data):
continue continue
if engine_attr == 'init': if engine_attr == 'init':
init_fn = getattr(engine, engine_attr) init_fn = getattr(engine, engine_attr)
def engine_init(): def engine_init():
init_fn() init_fn()
logger.debug('%s engine initialized', engine_data['name']) logger.debug('%s engine initialized', engine_data['name'])