From 57a6a15fcf5c744c7fa6f399af1c77ac9c312341 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 6 Nov 2023 13:12:21 +0100 Subject: [PATCH] models:file - fix incorrect action property assignment --- acacore/models/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acacore/models/file.py b/acacore/models/file.py index be46845..e631085 100644 --- a/acacore/models/file.py +++ b/acacore/models/file.py @@ -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: