From 04fa7bda1c1d6ddf6a98c95799d18b0f5712d43a Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 6 Apr 2010 19:14:59 +0100 Subject: [PATCH] fix missing method --- openlp/plugins/presentations/lib/impresscontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)