mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
fix a bug with thumbnail generation when TIKA was enabled
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user