Update server.py
This commit is contained in:
parent
7613fd270c
commit
9794a20fd5
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ for mod in modules:
|
||||||
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 mods["sql_provider"] != None:
|
if mods["sql_provider"] == None:
|
||||||
mods["sql_provider"] = temp_module
|
mods["sql_provider"] = temp_module
|
||||||
else:
|
else:
|
||||||
raise Exception(f"Tried to import {mod} as an SQL provider, but something's already the SQL provider.")
|
raise Exception(f"Tried to import {mod} as an SQL provider, but something's already the SQL provider.")
|
||||||
|
|
Loading…
Reference in a new issue