1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-23 17:15:38 +01:00

Working on db session management

This commit is contained in:
Caleb Stewart 2020-10-24 14:08:51 -04:00
parent bb8d374d82
commit a90f524f83

View File

@ -116,7 +116,11 @@ class Session:
@property
def db(self):
""" Retrieve a database session """
""" Retrieve a database session
I'm not sure if this is the best way to handle database sessions.
"""
new_session = self._db_session is None