diff --git a/app/but/bulletin_but.py b/app/but/bulletin_but.py index 067840cd75..db129f9d38 100644 --- a/app/but/bulletin_but.py +++ b/app/but/bulletin_but.py @@ -216,7 +216,8 @@ class BulletinBUT: details = [ f"{fmt_note(bonus_vect[ue.id])} sur {ue.acronyme}" for ue in res.ues - if res.modimpls_in_ue(ue.id, etudid) + if ue.type != UE_SPORT + and res.modimpls_in_ue(ue.id, etudid) and ue.id in res.bonus_ues and bonus_vect[ue.id] > 0.0 ] @@ -308,9 +309,11 @@ class BulletinBUT: "ues": { ue.acronyme: self.etud_ue_results(etud, ue) for ue in res.ues - if self.res.modimpls_in_ue( - ue.id, etud.id - ) # si l'UE comporte des modules auxquels on est inscrit + # si l'UE comporte des modules auxquels on est inscrit: + if ( + (ue.type == UE_SPORT) + or self.res.modimpls_in_ue(ue.id, etud.id) + ) }, "semestre": semestre_infos, }, diff --git a/sco_version.py b/sco_version.py index b0f7091e3a..7657bac433 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.1.77" +SCOVERSION = "9.1.78" SCONAME = "ScoDoc"