From 6b5825e12ccf59afd1edeef1a0827e1589ea051b Mon Sep 17 00:00:00 2001 From: Elior Gigi <62066172+EliorGigi@users.noreply.github.com> Date: Wed, 17 Jan 2024 23:59:00 +0200 Subject: [PATCH] Update models.py --- anyway/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anyway/models.py b/anyway/models.py index f456d9a1..7e546c16 100755 --- a/anyway/models.py +++ b/anyway/models.py @@ -919,7 +919,7 @@ def set_critical( (critical_values["severe_injured_count"] / suburban_road_severe_value) + (critical_values["killed_count"] / suburban_road_killed_value) ) >= 1 - elif resolution == BE_CONST.ResolutionCategories.SUBURBAN_ROAD: + elif resolution == BE_CONST.ResolutionCategories.STREET: critical = ( (critical_values["severe_injured_count"] / urban_severe_value) + (critical_values["killed_count"] / urban_severe_value)