mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-03 03:59:36 +01:00
Fix: handle title placeholder for docs without original_filename (#5828)
This commit is contained in:
parent
db0a2eb1a3
commit
6bd5c34b54
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue