diff --git a/openlp/plugins/presentations/lib/impresscontroller.py b/openlp/plugins/presentations/lib/impresscontroller.py index 7b4367a72..4ddd20471 100644 --- a/openlp/plugins/presentations/lib/impresscontroller.py +++ b/openlp/plugins/presentations/lib/impresscontroller.py @@ -248,7 +248,7 @@ class ImpressDocument(PresentationDocument): preview = resize_image(path, 640, 480) if os.path.exists(path): os.remove(path) - preview.save(path, u'png') + preview.save(patha, u'png') except: log.exception(u'%s - Unable to store openoffice preview' % path)