fix db context bug
This commit is contained in:
parent
cc87108bb3
commit
86ed13eb7b
|
@ -7,7 +7,7 @@ from chassis.consts import const
|
||||||
engines = {}
|
engines = {}
|
||||||
|
|
||||||
|
|
||||||
def init_engine(config_item):
|
def init_engine(config_item=None):
|
||||||
if config_item:
|
if config_item:
|
||||||
databases = config_item[const.DB_CONFIG_ITEM]
|
databases = config_item[const.DB_CONFIG_ITEM]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue