mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-22 14:36:48 +01:00
supply file_name for tika parser
This commit is contained in:
parent
de32addf76
commit
40ef375c15
6 changed files with 10 additions and 11 deletions
|
|
@ -88,7 +88,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||
f"Error while calculating DPI for image {image}: {e}")
|
||||
return None
|
||||
|
||||
def parse(self, document_path, mime_type):
|
||||
def parse(self, document_path, mime_type, file_name=None):
|
||||
mode = settings.OCR_MODE
|
||||
|
||||
text_original = get_text_from_pdf(document_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue