From 5a1abe7b515ca9da8df1be263642a7bc8f55b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 24 Nov 2008 20:14:58 +0100 Subject: Increase session version for the last change --- portato/gui/session.py | 2 +- portato/gui/windows/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'portato') 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: -- cgit v1.2.3