1
0
forked from ScoDoc/ScoDoc

Fix (pour suite tests)

This commit is contained in:
Emmanuel Viennet 2022-02-18 14:24:35 +01:00
parent 175c66c834
commit 39e31983ee

View File

@ -120,7 +120,7 @@ class ResultatsSemestreClassic(NotesTableCompat):
axis=1 axis=1
) / self.etud_coef_ue_df.sum(axis=1) ) / self.etud_coef_ue_df.sum(axis=1)
self.etud_moy_gen += bonus_mg self.etud_moy_gen += bonus_mg
elif bonus_mg: elif bonus_mg is not None:
# Applique le bonus moyenne générale renvoyé # Applique le bonus moyenne générale renvoyé
self.etud_moy_gen += bonus_mg self.etud_moy_gen += bonus_mg