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