From e9c0057b96c1ebe783bcb120db9504e7ad0449da Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 26 Mar 2015 15:17:14 +0100 Subject: [PATCH] Fix a traceback by changing filepath to file_path. Fixes bug 1389149. Fixes: https://launchpad.net/bugs/1389149 --- openlp/plugins/presentations/lib/messagelistener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/presentations/lib/messagelistener.py b/openlp/plugins/presentations/lib/messagelistener.py index 778150039..c420d5f3a 100644 --- a/openlp/plugins/presentations/lib/messagelistener.py +++ b/openlp/plugins/presentations/lib/messagelistener.py @@ -93,7 +93,7 @@ class Controller(object): return True if not self.doc.is_loaded(): if not self.doc.load_presentation(): - log.warning('Failed to activate %s' % self.doc.filepath) + log.warning('Failed to activate %s' % self.doc.file_path) return False if self.is_live: self.doc.start_presentation() @@ -104,7 +104,7 @@ class Controller(object): if self.doc.is_active(): return True else: - log.warning('Failed to activate %s' % self.doc.filepath) + log.warning('Failed to activate %s' % self.doc.file_path) return False def slide(self, slide):