From a90f524f83a43962b7812da15861ed0cd5db5ecd Mon Sep 17 00:00:00 2001 From: Caleb Stewart Date: Sat, 24 Oct 2020 14:08:51 -0400 Subject: [PATCH] Working on db session management --- pwncat/manager.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pwncat/manager.py b/pwncat/manager.py index ffb74a5..c0211d2 100644 --- a/pwncat/manager.py +++ b/pwncat/manager.py @@ -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