Revert "Not close session for now"

This reverts commit d3ce86f3c0.
This commit is contained in:
Jeremy Zhang 2018-03-25 21:17:08 +00:00
parent d3ce86f3c0
commit 1e43f607b6

View File

@ -40,6 +40,8 @@ class DatabaseInterface(object):
except:
session.rollback()
raise
finally:
session.close()
async def push_message(self, message):
if message.guild: