mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-04-03 07:31:56 +02:00
Revert "Not close session for now"
This reverts commit d3ce86f3c0c59fa563a98d50b823be3aa9bfa1df.
This commit is contained in:
parent
d3ce86f3c0
commit
1e43f607b6
@ -40,6 +40,8 @@ class DatabaseInterface(object):
|
|||||||
except:
|
except:
|
||||||
session.rollback()
|
session.rollback()
|
||||||
raise
|
raise
|
||||||
|
finally:
|
||||||
|
session.close()
|
||||||
|
|
||||||
async def push_message(self, message):
|
async def push_message(self, message):
|
||||||
if message.guild:
|
if message.guild:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user