mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
fix a bug with thumbnail generation when TIKA was enabled
This commit is contained in:
parent
7d67766508
commit
8d6071e977
8 changed files with 25 additions and 19 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue