fix a bug with thumbnail generation when TIKA was enabled

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

View File

@@ -48,7 +48,7 @@ class RasterisedDocumentParser(DocumentParser):
)
return result
def get_thumbnail(self, document_path, mime_type):
def get_thumbnail(self, document_path, mime_type, file_name=None):
return make_thumbnail_from_pdf(
document_path, self.tempdir, self.logging_group)