diff --git a/app/comp/bonus_spo.py b/app/comp/bonus_spo.py index d9ca76bbbb..64ba297993 100644 --- a/app/comp/bonus_spo.py +++ b/app/comp/bonus_spo.py @@ -106,6 +106,8 @@ class BonusSport: if formsemestre.formation.is_apc(): # BUT nb_ues_no_bonus = sem_modimpl_moys.shape[2] + if nb_ues_no_bonus == 0: # aucune UE... + return # no bonus at all # Duplique les inscriptions sur les UEs non bonus: modimpl_inscr_spo_stacked = np.stack( [modimpl_inscr_spo] * nb_ues_no_bonus, axis=2 diff --git a/sco_version.py b/sco_version.py index 8c22b23876..071863e322 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.76" +SCOVERSION = "9.4.77" SCONAME = "ScoDoc"