fix ordre des pastilles si liazo + aquilenet

This commit is contained in:
Johan Le Baut 2023-01-11 22:26:41 +01:00
parent bfc0a30c84
commit 461550c544

View file

@ -48,6 +48,7 @@ class Liazo:
idImm = building.get("ref") idImm = building.get("ref")
if buildings.get(idImm): if buildings.get(idImm):
buildings[idImm]["fdnEligStatus"] = fdnEligStatus buildings[idImm]["fdnEligStatus"] = fdnEligStatus
if buildings[idImm]["etat_imm_priority"] > 4:
buildings[idImm]["etat_imm_priority"] = 4 buildings[idImm]["etat_imm_priority"] = 4
if buildings[idImm].get("found_in"): if buildings[idImm].get("found_in"):
buildings[idImm]["found_in"].append("liazo") buildings[idImm]["found_in"].append("liazo")