diff --git a/app/but/jury_but_view.py b/app/but/jury_but_view.py index 169abdf27..1f2a8a170 100644 --- a/app/but/jury_but_view.py +++ b/app/but/jury_but_view.py @@ -110,17 +110,20 @@ def show_etud(deca: DecisionsProposeesAnnee, read_only: bool = True) -> str: ) ue_impair, ue_pair = rcue.ue_1, rcue.ue_2 # Les UEs à afficher : on regarde si read only et si dispense (non ré-inscription à l'UE) + # tuples (UniteEns, read_only, dispense) ues_ro_dispense = [ ( ue_impair, rcue.ue_cur_impair is None, deca.res_impair + and ue_impair and (deca.etud.id, ue_impair.id) in deca.res_impair.dispense_ues, ), ( ue_pair, rcue.ue_cur_pair is None, deca.res_pair + and ue_pair and (deca.etud.id, ue_pair.id) in deca.res_pair.dispense_ues, ), ] diff --git a/sco_version.py b/sco_version.py index e0361b073..696c6af38 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.955" +SCOVERSION = "9.6.956" SCONAME = "ScoDoc"