This commit is contained in:
hibiki
2021-06-23 15:57:03 +08:00
parent 862776b011
commit f84896213a
17 changed files with 400 additions and 149 deletions
+1 -1
View File
@@ -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: