PE: fix (mais calcul coef. non compatible BUT)

This commit is contained in:
Emmanuel Viennet 2023-03-16 15:26:41 +01:00 committed by iziram
parent 1f818da064
commit 212616655b

View File

@ -256,7 +256,7 @@ class SemestreTag(pe_tagtable.TableTag):
# Si le module ne fait pas partie des UE capitalisées
if modimpl.module.ue.id not in ue_capitalisees_id:
note = self.nt.get_etud_mod_moy(modimpl_id, etudid) # lecture de la note
coeff = modimpl.module.coefficient # le coeff
coeff = modimpl.module.coefficient or 0.0 # le coeff (! non compatible BUT)
coeff_norm = (
coeff / self.somme_coeffs if self.somme_coeffs != 0 else 0
) # le coeff normalisé