forked from ScoDoc/ScoDoc
fix bug costes: bulletins/comparaison int/string
This commit is contained in:
parent
5d32b9f706
commit
a060cefbe8
@ -513,7 +513,7 @@ def _ue_mod_bulletin(etudid, formsemestre_id, ue_id, modimpls, nt, version):
|
|||||||
val = e["notes"].get(etudid, {"value": "NP"})[
|
val = e["notes"].get(etudid, {"value": "NP"})[
|
||||||
"value"
|
"value"
|
||||||
] # NA si etud demissionnaire
|
] # NA si etud demissionnaire
|
||||||
if val > 0 or val == "NP":
|
if val == "NP" or val > 0:
|
||||||
e["name"] = "Points de malus sur cette UE"
|
e["name"] = "Points de malus sur cette UE"
|
||||||
else:
|
else:
|
||||||
e["name"] = "Points de bonus sur cette UE"
|
e["name"] = "Points de bonus sur cette UE"
|
||||||
|
Loading…
Reference in New Issue
Block a user