Fix a traceback by changing filepath to file_path. Fixes bug 1389149.

Fixes: https://launchpad.net/bugs/1389149
This commit is contained in:
Tomas Groth 2015-03-26 15:17:14 +01:00
parent 41c695bbec
commit e9c0057b96

View File

@ -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):