From 39e31983ee36fe993e5d2506e20e683af4204157 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 18 Feb 2022 14:24:35 +0100 Subject: [PATCH] Fix (pour suite tests) --- app/comp/res_classic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/comp/res_classic.py b/app/comp/res_classic.py index a4b352ed8..1dfcfb4da 100644 --- a/app/comp/res_classic.py +++ b/app/comp/res_classic.py @@ -120,7 +120,7 @@ class ResultatsSemestreClassic(NotesTableCompat): axis=1 ) / self.etud_coef_ue_df.sum(axis=1) self.etud_moy_gen += bonus_mg - elif bonus_mg: + elif bonus_mg is not None: # Applique le bonus moyenne générale renvoyé self.etud_moy_gen += bonus_mg