fix a bug with thumbnail generation when TIKA was enabled

This commit is contained in:
jonaswinkler committed 2021-02-09 22:12:43 +01:00
1 parent 7d67766508
commit 8d6071e977
8 files changed
+25 -19

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ class Consumer(LoggingMixin):
self._send_progress(70, 100, 'WORKING',
MESSAGE_GENERATING_THUMBNAIL)
thumbnail = document_parser.get_optimised_thumbnail(
self.path, mime_type)
self.path, mime_type, self.filename)
text = document_parser.get_text()
date = document_parser.get_date()