From d3ce86f3c0c59fa563a98d50b823be3aa9bfa1df Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 25 Mar 2018 21:04:40 +0000 Subject: [PATCH] Not close session for now --- discordbot/titanembeds/database/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/discordbot/titanembeds/database/__init__.py b/discordbot/titanembeds/database/__init__.py index e2f3f6c..7599c41 100644 --- a/discordbot/titanembeds/database/__init__.py +++ b/discordbot/titanembeds/database/__init__.py @@ -40,8 +40,6 @@ class DatabaseInterface(object): except: session.rollback() raise - finally: - session.close() async def push_message(self, message): if message.guild: