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

This commit is contained in:
Emmanuel Viennet 2023-03-16 15:26:41 +01:00
parent 03d23cfaab
commit 8044a8c1e1

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é