summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-11-24 20:14:58 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-11-24 20:14:58 +0100
commit5a1abe7b515ca9da8df1be263642a7bc8f55b383 (patch)
tree5cf5c6cbe9d7be7212b5db78e91563799b114fda
parent595216743bad882172d36129a84f9f3c39ab00e1 (diff)
downloadportato-5a1abe7b515ca9da8df1be263642a7bc8f55b383.tar.gz
portato-5a1abe7b515ca9da8df1be263642a7bc8f55b383.tar.bz2
portato-5a1abe7b515ca9da8df1be263642a7bc8f55b383.zip
Increase session version for the last change
Diffstat (limited to '')
-rw-r--r--portato/gui/session.py2
-rw-r--r--portato/gui/windows/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/session.py b/portato/gui/session.py
index a7e1ffa..df4685e 100644
--- a/portato/gui/session.py
+++ b/portato/gui/session.py
@@ -14,7 +14,7 @@ from ..helper import debug
# the current version for saved sessions
# change this, whenever the change is incompatible with previous versions
-SESSION_VERSION = 2
+SESSION_VERSION = 3
class SessionException (Exception):
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 52956e7..d2949e7 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -978,7 +978,7 @@ class MainWindow (Window):
return
oldVersion = SESSION_VERSION
- allowedVersions = (1,2)
+ allowedVersions = (1,3)
if not defaults_only and sessionEx and isinstance(sessionEx, SessionException):
if sessionEx.got in allowedVersions: