diff --git a/openlp/plugins/presentations/lib/impresscontroller.py b/openlp/plugins/presentations/lib/impresscontroller.py index d30c71078..3e98c7d1b 100644 --- a/openlp/plugins/presentations/lib/impresscontroller.py +++ b/openlp/plugins/presentations/lib/impresscontroller.py @@ -78,7 +78,7 @@ class ImpressController(PresentationController): Initialise the class """ log.debug(u'Initialising') - PresentationController.__init__(self, plugin, u'Impress', ImpressDocument) + super(ImpressController, self).__init__(plugin, u'Impress', ImpressDocument) self.supports = [u'odp'] self.also_supports = [u'ppt', u'pps', u'pptx', u'ppsx'] self.process = None @@ -208,7 +208,7 @@ class ImpressDocument(PresentationDocument): Constructor, store information about the file and initialise. """ log.debug(u'Init Presentation OpenOffice') - PresentationDocument.__init__(self, controller, presentation) + super(ImpressDocument, self).__init__(controller, presentation) self.document = None self.presentation = None self.control = None diff --git a/openlp/plugins/presentations/lib/powerpointcontroller.py b/openlp/plugins/presentations/lib/powerpointcontroller.py index 6895fda19..e52d9b1cf 100644 --- a/openlp/plugins/presentations/lib/powerpointcontroller.py +++ b/openlp/plugins/presentations/lib/powerpointcontroller.py @@ -58,7 +58,7 @@ class PowerpointController(PresentationController): Initialise the class """ log.debug(u'Initialising') - PresentationController.__init__(self, plugin, u'Powerpoint', PowerpointDocument) + super(PowerpointController, self).__init__(plugin, u'Powerpoint', PowerpointDocument) self.supports = [u'ppt', u'pps', u'pptx', u'ppsx'] self.process = None @@ -114,7 +114,7 @@ class PowerpointDocument(PresentationDocument): Constructor, store information about the file and initialise. """ log.debug(u'Init Presentation Powerpoint') - PresentationDocument.__init__(self, controller, presentation) + super(PowerpointDocument, self).__init__(controller, presentation) self.presentation = None def load_presentation(self): diff --git a/openlp/plugins/presentations/lib/pptviewcontroller.py b/openlp/plugins/presentations/lib/pptviewcontroller.py index abb9fd11e..01c4100cc 100644 --- a/openlp/plugins/presentations/lib/pptviewcontroller.py +++ b/openlp/plugins/presentations/lib/pptviewcontroller.py @@ -54,7 +54,7 @@ class PptviewController(PresentationController): """ log.debug(u'Initialising') self.process = None - PresentationController.__init__(self, plugin, u'Powerpoint Viewer', PptviewDocument) + super(PptviewController, self).__init__(plugin, u'Powerpoint Viewer', PptviewDocument) self.supports = [u'ppt', u'pps', u'pptx', u'ppsx'] def check_available(self):