← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~sam92/openlp/fix-presentation-loading into lp:openlp

 

Samuel Mehrbrodt has proposed merging lp:~sam92/openlp/fix-presentation-loading into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~sam92/openlp/fix-presentation-loading/+merge/192180

Imported presentations were not displayed - the variable has been renamed sometime.
-- 
https://code.launchpad.net/~sam92/openlp/fix-presentation-loading/+merge/192180
Your team OpenLP Core is requested to review the proposed merge of lp:~sam92/openlp/fix-presentation-loading into lp:openlp.
=== modified file 'openlp/plugins/presentations/lib/messagelistener.py'
--- openlp/plugins/presentations/lib/messagelistener.py	2013-08-31 18:17:38 +0000
+++ openlp/plugins/presentations/lib/messagelistener.py	2013-10-22 15:47:36 +0000
@@ -281,7 +281,7 @@
 
 class MessageListener(object):
     """
-    This is the Presentation listener who acts on events from the slide controller and passes the messages on the the
+    This is the Presentation listener who acts on events from the slide controller and passes the messages on the
     correct presentation handlers
     """
     log.info('Message Listener loaded')
@@ -316,7 +316,7 @@
         hide_mode = message[2]
         file = item.get_frame_path()
         self.handler = item.processor
-        if self.handler == self.media_item.Automatic:
+        if self.handler == self.media_item.automatic:
             self.handler = self.media_item.findControllerByType(file)
             if not self.handler:
                 return


References