From 0b22f36e6c169b97519a0653dd5ae771dfe41450 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Thu, 18 Jul 2013 21:38:37 +0200 Subject: [PATCH] changed constructor --- openlp/plugins/custom/lib/mediaitem.py | 2 +- openlp/plugins/songs/lib/mediaitem.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/custom/lib/mediaitem.py b/openlp/plugins/custom/lib/mediaitem.py index c2c67c304..20d8626d5 100644 --- a/openlp/plugins/custom/lib/mediaitem.py +++ b/openlp/plugins/custom/lib/mediaitem.py @@ -57,7 +57,7 @@ class CustomMediaItem(MediaManagerItem): def __init__(self, parent, plugin): self.icon_path = u'custom/custom' - MediaManagerItem.__init__(self, parent, plugin) + super(CustomMediaItem, self).__init__(parent, plugin) self.edit_custom_form = EditCustomForm(self, self.main_window, self.plugin.manager) self.single_service_item = False self.quick_preview_allowed = True diff --git a/openlp/plugins/songs/lib/mediaitem.py b/openlp/plugins/songs/lib/mediaitem.py index 7c50eb6b8..6b143f618 100644 --- a/openlp/plugins/songs/lib/mediaitem.py +++ b/openlp/plugins/songs/lib/mediaitem.py @@ -71,7 +71,7 @@ class SongMediaItem(MediaManagerItem): def __init__(self, parent, plugin): self.icon_path = u'songs/song' - MediaManagerItem.__init__(self, parent, plugin) + super(SongMediaItem, self).__init__(parent, plugin) self.single_service_item = False # Holds information about whether the edit is remotely triggered and which Song is required. self.remote_song = -1