fix db_model bug

This commit is contained in:
BryantHe 2023-06-27 02:50:23 +08:00
parent 1ece3484a3
commit ef6713374e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from chassis.consts import const
engines = {} engines = {}
def init_engine(config_item=None): def init_engine(**config_item):
if config_item: if config_item:
databases = config_item[const.DB_CONFIG_ITEM] databases = config_item[const.DB_CONFIG_ITEM]
else: else: