summaryrefslogtreecommitdiff
path: root/portato/db/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/db/__init__.py')
-rw-r--r--portato/db/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index 21f72ce..a4b4bde 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -40,7 +40,7 @@ def Database(type = None):
return _DATABASE
if _SESSION is None:
- _SESSION = Session("db.cfg", name = "DB")
+ _SESSION = Session("db.session", name = "DB", oldfiles = ["db.cfg"])
_SESSION.load()
_TYPE = type