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(