mirror of
https://gitea.bearcatlog.com/Bryant/chassis
synced 2026-12-05 09:49:25 +08:00
fix db_model bug
This commit is contained in:
1 parent
1ece3484a3
commit
ef6713374e
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user