diff --git a/openlp/core/lib/baselistwithdnd.py b/openlp/core/lib/baselistwithdnd.py index 533e17bfc..21312dbdb 100644 --- a/openlp/core/lib/baselistwithdnd.py +++ b/openlp/core/lib/baselistwithdnd.py @@ -25,7 +25,7 @@ from openlp.core.lib import translate class BaseListWithDnD(QtGui.QListView): - def __init__(self,parent=None): + def __init__(self,parent = None): QtGui.QListView.__init__(self,parent) assert (self.PluginName) # this must be set by the class which is inheriting def mouseMoveEvent(self, event): diff --git a/openlp/plugins/images/lib/mediaitem.py b/openlp/plugins/images/lib/mediaitem.py index ed6f3bd1a..a8898526b 100644 --- a/openlp/plugins/images/lib/mediaitem.py +++ b/openlp/plugins/images/lib/mediaitem.py @@ -43,13 +43,13 @@ class ImageMediaItem(MediaManagerItem): def __init__(self, parent, icon, title): self.TranslationContext = u'ImagePlugin' - self.PluginTextShort =u'Image' - self.ConfigSection=u'images' - self.OnNewPrompt=u'Select Image(s)' - self.OnNewFileMasks=u'Images (*.jpg *jpeg *.gif *.png *.bmp)' + self.PluginTextShort = u'Image' + self.ConfigSection = u'images' + self.OnNewPrompt = u'Select Image(s)' + self.OnNewFileMasks = u'Images (*.jpg *jpeg *.gif *.png *.bmp)' # this next is a class, not an instance of a class - it will # be instanced by the base MediaManagerItem - self.ListViewWithDnD_class=ImageListView + self.ListViewWithDnD_class = ImageListView MediaManagerItem.__init__(self, parent, icon, title)