From f46a32580dc3ec8db2129dc2b89c75214906228f Mon Sep 17 00:00:00 2001 From: Giacomo Cariello Date: Mon, 8 Jul 2019 17:33:30 +0200 Subject: [PATCH] Fix thumbnail generation issue (#637). --- mayan/apps/documents/models/document_page_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/models/document_page_models.py b/mayan/apps/documents/models/document_page_models.py index b5a1661bd8..afbf34cef3 100644 --- a/mayan/apps/documents/models/document_page_models.py +++ b/mayan/apps/documents/models/document_page_models.py @@ -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(