Fix: handle title placeholder for docs without original_filename
This commit is contained in:
parent
7924bf8611
commit
4233720e55
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user