valide les double mais preirite et interval pas ok
This commit is contained in:
@ -72,6 +72,9 @@ def resolve_priority(
|
||||
if new_priority > old_priority:
|
||||
return 0, "LOWER_PRIORITY", det_id, None
|
||||
|
||||
|
||||
|
||||
|
||||
# Nouvelle lecture plus prioritaire → remplacer
|
||||
if new_priority < old_priority:
|
||||
|
||||
@ -89,5 +92,6 @@ def resolve_priority(
|
||||
forced_tour = old_tour
|
||||
return 1, None, None, forced_tour
|
||||
|
||||
|
||||
# Même priorité → rejet
|
||||
return 0, "EQUAL_PRIORITY", det_id, None
|
||||
return 0, "EQUAL_PRIORITY", det_id, None
|
||||
Reference in New Issue
Block a user