From 6250e16cfe25a43a8a5bc6ae41f24f7b8776ac25 Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Wed, 13 May 2015 23:21:47 -0400 Subject: [PATCH] Fixed #37. --- src/sessionmanager/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index 902cbc49..0da02fbd 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -369,7 +369,7 @@ class Session(object): def shelve(self): "Shelve the database to allow for persistance." - shelfname=paths.config_path(str(self.session_id)+".db") + shelfname=paths.config_path(str(self.session_id)+"/cache.db") if self.settings["general"]["persist_size"] == 0: if os.path.exists(shelfname): os.remove(shelfname) @@ -394,7 +394,7 @@ class Session(object): def deshelve(self): "Import a shelved database." - shelfname=paths.config_path(str(self.session_id)+".db") + shelfname=paths.config_path(str(self.session_id)+"/cache.db") if self.settings["general"]["persist_size"] == 0: if os.path.exists(shelfname): os.remove(shelfname)