summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/db/__init__.py2
-rw-r--r--portato/gui/windows/main.py2
2 files changed, 2 insertions, 2 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
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index a06756d..130a71c 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -914,7 +914,7 @@ class MainWindow (Window):
Loads the session data.
"""
try:
- self.session = Session("gui.cfg", name="GUI", oldfiles=["gtk_session.cfg"])
+ self.session = Session("gui.session", name="GUI", oldfiles=["gtk_session.cfg", "gui.cfg"])
except (OSError, IOError), e:
dialogs.io_ex_dialog(e)
return