mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@ db = Gino()
|
||||
|
||||
async def init():
|
||||
i_bind = DATABASE_URI if DATABASE_URI else bind
|
||||
if not bind:
|
||||
if not i_bind:
|
||||
i_bind = f"{sql_name}://{user}:{password}@{address}:{port}/{database}"
|
||||
# print(i_bind)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user