Fix: handle title placeholder for docs without original_filename (#5828)

This commit is contained in:
shamoon 2024-02-25 17:45:35 -08:00 committed by GitHub
parent 50d4fac0ff
commit 9546574b44

View File

@ -575,7 +575,11 @@ def run_workflow(
else ""
),
timezone.localtime(document.added),
document.original_filename,
(
document.original_filename
if document.original_filename is not None
else ""
),
timezone.localtime(document.created),
)
except Exception: