forked from ScoDoc/ScoDoc
Fix bonus Sceaux (cas particulier sans bonus)
This commit is contained in:
parent
1cc11cc932
commit
e745a7938e
@ -1276,7 +1276,8 @@ class BonusSceaux(BonusSportAdditif): # atypique
|
||||
# pas d'étudiants ou pas d'UE ou pas de module...
|
||||
return
|
||||
super().compute_bonus(sem_modimpl_moys_inscrits, modimpl_coefs_etuds_no_nan)
|
||||
self.bonus_ues = (self.bonus_ues / self.nb_ues) / self.sum_coefs_ues
|
||||
if self.bonus_ues is not None:
|
||||
self.bonus_ues = (self.bonus_ues / self.nb_ues) / self.sum_coefs_ues
|
||||
|
||||
|
||||
class BonusStEtienne(BonusSportAdditif):
|
||||
|
Loading…
Reference in New Issue
Block a user