mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
bugfix for tika parser
This commit is contained in:
parent
8562ca9a77
commit
dfc23a2b38
1 changed files with 4 additions and 1 deletions
|
|
@ -34,7 +34,10 @@ def handle_document(document_id):
|
|||
parser = parser_class(logging_group=uuid.uuid4())
|
||||
|
||||
try:
|
||||
parser.parse(document.source_path, mime_type)
|
||||
parser.parse(
|
||||
document.source_path,
|
||||
mime_type,
|
||||
document.get_public_filename())
|
||||
|
||||
if parser.get_archive_path():
|
||||
with transaction.atomic():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue