mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-11-11 03:56:07 -06:00
fix a bug with thumbnail generation when TIKA was enabled
This commit is contained in:
@@ -13,7 +13,7 @@ class TextDocumentParser(DocumentParser):
|
||||
|
||||
logging_name = "paperless.parsing.text"
|
||||
|
||||
def get_thumbnail(self, document_path, mime_type):
|
||||
def get_thumbnail(self, document_path, mime_type, file_name=None):
|
||||
|
||||
def read_text():
|
||||
with open(document_path, 'r') as src:
|
||||
|
||||
Reference in New Issue
Block a user