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