mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[mod] searx doesn't crash at startup when an engine can't be loaded (see #884)
This commit is contained in:
parent
92ca80ba5a
commit
12d91c1d67
@ -218,4 +218,5 @@ def get_engines_stats():
|
||||
def initialize_engines(engine_list):
|
||||
for engine_data in engine_list:
|
||||
engine = load_engine(engine_data)
|
||||
engines[engine.name] = engine
|
||||
if engine is not None:
|
||||
engines[engine.name] = engine
|
||||
|
Loading…
Reference in New Issue
Block a user