mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-24 01:25:37 +01:00
Working on db session management
This commit is contained in:
parent
bb8d374d82
commit
a90f524f83
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user