From 759019e5ebfe266fbe66d0d69ea55fe46645bc62 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 27 Aug 2010 19:48:06 +0100 Subject: [PATCH] Fix theme import Redhat Bugzilla --- openlp/core/theme/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/theme/theme.py b/openlp/core/theme/theme.py index e5f3b4c4c..52dda1631 100644 --- a/openlp/core/theme/theme.py +++ b/openlp/core/theme/theme.py @@ -204,7 +204,7 @@ class Theme(object): val = element_text if (element.tag.find(u'Color') > 0 or (element.tag.find(u'BackgroundParameter') == 0 and - isinstance(int, val))): + isinstance(val, int))): # convert to a wx.Colour if not delphi_color_change: val = QtGui.QColor(