forked from ScoDoc/ScoDoc
Fix: affichage d'une UE capitalisée sans ECTS (None)
This commit is contained in:
parent
f0da8434a9
commit
5258a570a6
@ -278,7 +278,7 @@ def formsemestre_bulletinetud_published_dict(
|
||||
# UE capitalisée (listée seulement si meilleure que l'UE courante)
|
||||
if ue_status["is_capitalized"]:
|
||||
try:
|
||||
ects_txt = str(int(ue_status["ue"].get("ects", "")))
|
||||
ects_txt = str(int(ue_status["ue"].get("ects", "") or 0.0))
|
||||
except ValueError:
|
||||
ects_txt = ""
|
||||
d["ue_capitalisee"].append(
|
||||
|
Loading…
Reference in New Issue
Block a user