Fix thumbnail generation issue (#637).
This commit is contained in:
committed by
Roberto Rosario
parent
6d0b7b1fc0
commit
5c91ab2d73
@@ -229,7 +229,7 @@ class DocumentPage(models.Model):
|
||||
for transformation in transformations:
|
||||
converter.transform(transformation=transformation)
|
||||
|
||||
return page_image
|
||||
return converter.get_page()
|
||||
except Exception as exception:
|
||||
# Cleanup in case of error
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user