fix missing method

This commit is contained in:
Tim Bentley 2010-04-06 19:14:59 +01:00
parent a866b30491
commit 04fa7bda1c
1 changed files with 1 additions and 1 deletions

View File

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