mirror of
https://gitea.bearcatlog.com/Bryant/chassis
synced 2025-04-04 23:07:27 +08:00
fix db context bug
This commit is contained in:
parent
cc87108bb3
commit
86ed13eb7b
@ -7,7 +7,7 @@ from chassis.consts import const
|
||||
engines = {}
|
||||
|
||||
|
||||
def init_engine(config_item):
|
||||
def init_engine(config_item=None):
|
||||
if config_item:
|
||||
databases = config_item[const.DB_CONFIG_ITEM]
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user