removed awaits from non-async commands
parent
95f32b633a
commit
cc0ea90241
|
@ -84,10 +84,10 @@ async def username_update():
|
|||
session.rollback()
|
||||
finally:
|
||||
print("Done.")
|
||||
await session.close()
|
||||
session.close()
|
||||
|
||||
if session is not None:
|
||||
await session.close()
|
||||
session.close()
|
||||
|
||||
# Bot Startup ******************************************************************
|
||||
bot_commands = Commands()
|
||||
|
|
Loading…
Reference in New Issue