forked from openlp/openlp
fix missing method
This commit is contained in:
parent
a866b30491
commit
04fa7bda1c
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user