diff --git a/src/documents/consumer.py b/src/documents/consumer.py index fa61e9376..d3653e9c6 100755 --- a/src/documents/consumer.py +++ b/src/documents/consumer.py @@ -133,7 +133,8 @@ class Consumer(LoggingMixin): document_parser.parse(self.path, mime_type) self.log("debug", f"Generating thumbnail for {self.filename}...") - thumbnail = document_parser.get_optimised_thumbnail(self.path, mime_type) + thumbnail = document_parser.get_optimised_thumbnail( + self.path, mime_type) text = document_parser.get_text() date = document_parser.get_date()