diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.py index 9f2b9a222..b8067df86 100644 --- a/src/documents/signals/handlers.py +++ b/src/documents/signals/handlers.py @@ -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: