From 5c91ab2d730aa1e14538c4cccaa811c578755ea3 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(