From 4d9e0a5c97a72a8f9f6785b40a1d373e0a27ead0 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Fri, 13 Dec 2024 11:25:15 +0100 Subject: [PATCH] chore: format --- backend/core/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/core/models.py b/backend/core/models.py index 4769bdfd9..c408e39b6 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -1553,7 +1553,8 @@ def get_disaster_recovery_objectives(self) -> dict[str, dict[str, dict[str, int] disaster_recovery_objectives[key] = content else: disaster_recovery_objectives[key]["value"] = min( - disaster_recovery_objectives[key].get("value", 0), content.get("value", 0) + disaster_recovery_objectives[key].get("value", 0), + content.get("value", 0), ) return {"objectives": disaster_recovery_objectives}