Better, attempt removal later for ConsumableDocument

This commit is contained in:
shamoon
2025-12-30 12:30:34 -08:00
parent f7a6f79c8b
commit 880b3e6d15
3 changed files with 82 additions and 6 deletions

View File

@@ -793,11 +793,7 @@ def run_workflows(
logging_group,
original_file,
)
elif (
action.type == WorkflowAction.WorkflowActionType.PASSWORD_REMOVAL
and not use_overrides
):
# Password removal only makes sense on actual documents
elif action.type == WorkflowAction.WorkflowActionType.PASSWORD_REMOVAL:
execute_password_removal_action(action, document, logging_group)
if not use_overrides: