fix missing method

This commit is contained in:
Tim Bentley 2010-04-06 19:14:59 +01:00
parent a866b30491
commit 04fa7bda1c

View File

@ -248,7 +248,7 @@ class ImpressDocument(PresentationDocument):
preview = resize_image(path, 640, 480) preview = resize_image(path, 640, 480)
if os.path.exists(path): if os.path.exists(path):
os.remove(path) os.remove(path)
preview.save(path, u'png') preview.save(patha, u'png')
except: except:
log.exception(u'%s - Unable to store openoffice preview' % path) log.exception(u'%s - Unable to store openoffice preview' % path)