forked from ScoDoc/DocScoDoc
Fix: affichage d'une UE capitalisée sans ECTS (None)
This commit is contained in:
parent
de89fa7dbc
commit
1af92ad6ac
@ -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