diff --git a/discordbot/titanembeds/database/__init__.py b/discordbot/titanembeds/database/__init__.py index 7599c41..e2f3f6c 100644 --- a/discordbot/titanembeds/database/__init__.py +++ b/discordbot/titanembeds/database/__init__.py @@ -40,6 +40,8 @@ class DatabaseInterface(object): except: session.rollback() raise + finally: + session.close() async def push_message(self, message): if message.guild: