Also provide the original file name to the post consumption script

This commit is contained in:
Trenton Holmes committed 2022-08-21 16:16:28 -07:00
1 parent baeb2a074a
commit 9b24cf7591
2 files changed
+2

No files matched your search

+1
View File
@@ -203,6 +203,7 @@ class Consumer(LoggingMixin):
script_env["DOCUMENT_TAGS"] = str(
",".join(document.tags.all().values_list("name", flat=True)),
)
script_env["DOCUMENT_ORIGINAL_FILENAME"] = str(document.original_filename)
try:
Popen(