From cc0ea902412e5176c06794e7d7848ff31e987f35 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Thu, 9 Aug 2018 21:51:46 -0500 Subject: [PATCH] removed awaits from non-async commands --- Geoffrey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geoffrey.py b/Geoffrey.py index cde2ad1..f8bec9f 100644 --- a/Geoffrey.py +++ b/Geoffrey.py @@ -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()