Update server.py
This commit is contained in:
parent
1bfc6fdccd
commit
b258e5dfe9
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ for mod in modules:
|
||||||
spc.loader.exec_module(temp_module)
|
spc.loader.exec_module(temp_module)
|
||||||
for j in temp_module.__ircat_requires__:
|
for j in temp_module.__ircat_requires__:
|
||||||
if not j in data:
|
if not j in data:
|
||||||
raise exception(f"Module {mod} requires {j} in configuration.")
|
raise Exception(f"Module {mod} requires {j} in configuration.")
|
||||||
if temp_module.__ircat_type__ == "sql.provider":
|
if temp_module.__ircat_type__ == "sql.provider":
|
||||||
if modules["sql_provider"] != None:
|
if modules["sql_provider"] != None:
|
||||||
modules["sql_provider"] = temp_module
|
modules["sql_provider"] = temp_module
|
||||||
|
|
Loading…
Reference in a new issue