Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 13, 2024
1 parent b0af569 commit 4d9e0a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4d9e0a5

Please sign in to comment.