bugfix for tika parser

This commit is contained in:
jonaswinkler 2021-02-21 21:36:43 +01:00
parent 8562ca9a77
commit dfc23a2b38

View File

@ -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():