mirror of
https://gitea.bearcatlog.com/Bryant/chassis
synced 2025-01-18 18:25:21 +08:00
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
Block a user