mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-06 16:20:30 +00:00
Fix: handle title placeholder for docs without original_filename (#5828)
This commit is contained in:
1 parent
db0a2eb1a3
commit
6bd5c34b54
1 file changed
+5
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user