forked from ScoDoc/ScoDoc
Fix: bulletin classique quand coef UE None
This commit is contained in:
parent
10c96ad683
commit
f0e731d151
@ -323,9 +323,7 @@ def formsemestre_bulletinetud_dict(formsemestre_id, etudid, version="long"):
|
|||||||
if ue_status["coef_ue"] != None:
|
if ue_status["coef_ue"] != None:
|
||||||
u["coef_ue_txt"] = scu.fmt_coef(ue_status["coef_ue"])
|
u["coef_ue_txt"] = scu.fmt_coef(ue_status["coef_ue"])
|
||||||
else:
|
else:
|
||||||
# C'est un bug:
|
u["coef_ue_txt"] = "-"
|
||||||
log("u=" + pprint.pformat(u))
|
|
||||||
raise Exception("invalid None coef for ue")
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
dpv
|
dpv
|
||||||
|
Loading…
Reference in New Issue
Block a user