forked from ScoDoc/ScoDoc
Fix: xml compat Bdx
This commit is contained in:
parent
35037a9a87
commit
b074b24b56
@ -182,7 +182,10 @@ def bulletin_but_xml_compat(
|
|||||||
# Liste ici uniquement les modules rattachés à cette UE
|
# Liste ici uniquement les modules rattachés à cette UE
|
||||||
if modimpl.module.ue.id == ue.id:
|
if modimpl.module.ue.id == ue.id:
|
||||||
# mod_moy = scu.fmt_note(results.etud_moy_ue[ue.id][etud.id])
|
# mod_moy = scu.fmt_note(results.etud_moy_ue[ue.id][etud.id])
|
||||||
coef = results.modimpl_coefs_df[modimpl.id][ue.id]
|
try:
|
||||||
|
coef = results.modimpl_coefs_df[modimpl.id][ue.id]
|
||||||
|
except KeyError:
|
||||||
|
coef = 0.0
|
||||||
x_mod = Element(
|
x_mod = Element(
|
||||||
"module",
|
"module",
|
||||||
id=str(modimpl.id),
|
id=str(modimpl.id),
|
||||||
|
Loading…
Reference in New Issue
Block a user