Skip to content

Commit

Permalink
models:file - fix incorrect action property assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Nov 6, 2023
1 parent 099b667 commit 57a6a15
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 @@ -111,7 +111,7 @@ def from_file(
elif file.action_data.reidentify and file.action_data.reidentify.onfail:
file.action = file.action_data.reidentify.onfail
else:
file.action.action = "manual"
file.action = "manual"
file.warning = [*(file.warning or []), repr(IdentificationError("Re-identify failure"))]

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

0 comments on commit 57a6a15

Please sign in to comment.