From 5a415311a5abb89a6f3f49e77adb20668f3a89c3 Mon Sep 17 00:00:00 2001 From: M2j Date: Sat, 22 Oct 2011 14:30:21 +0200 Subject: [PATCH] Correction for Migrate version smaller than 0.7 --- openlp/core/ui/exceptionform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/exceptionform.py b/openlp/core/ui/exceptionform.py index 18b36914d..10fee7f6f 100644 --- a/openlp/core/ui/exceptionform.py +++ b/openlp/core/ui/exceptionform.py @@ -41,7 +41,7 @@ except ImportError: PHONON_VERSION = u'-' try: import migrate - MIGRATE_VERSION = migrate.__version__ + MIGRATE_VERSION = getattr(migrate, u'__version__', u'< 0.7') except ImportError: MIGRATE_VERSION = u'-' try: