removed awaits from non-async commands

doc_update
Joey Hines 2018-08-09 21:51:46 -05:00
parent 95f32b633a
commit cc0ea90241
1 changed files with 2 additions and 2 deletions

View File

@ -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()