forked from Ponysearch/Ponysearch
[fix] proper engine init
This commit is contained in:
parent
68cbf0448f
commit
ea034fafa9
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue