Skip to content

Commit

Permalink
models:file - fix incorrect ManualAction model arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Nov 10, 2023
1 parent 7661ba9 commit 84f7754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acacore/models/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def from_file(
file.action = file.action_data.reidentify.onfail
else:
file.action = "manual"
file.action_data = ActionData(manual=ManualAction(reason="Re-identify failure"))
file.action_data = ActionData(manual=ManualAction(reasoning="Re-identify failure", process=""))
file.puid = file.signature = file.warning = None

if file.action_data and file.action_data.ignore and file.action_data.ignore.ignore_if:
Expand Down

0 comments on commit 84f7754

Please sign in to comment.