mirror of https://github.com/searxng/searxng.git
[fix] proper engine init
This commit is contained in:
parent
68cbf0448f
commit
ea034fafa9
|
@ -202,9 +202,6 @@ def get_engines_stats():
|
||||||
|
|
||||||
|
|
||||||
def initialize_engines(engine_list):
|
def initialize_engines(engine_list):
|
||||||
global categories, engines
|
|
||||||
engines = {}
|
|
||||||
categories = {'general': []}
|
|
||||||
for engine_data in engine_list:
|
for engine_data in engine_list:
|
||||||
engine = load_engine(engine_data)
|
engine = load_engine(engine_data)
|
||||||
engines[engine.name] = engine
|
engines[engine.name] = engine
|
||||||
|
|
Loading…
Reference in New Issue