From 2cc911eb0dabc137e5b4db84a98413a97e28bbeb Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 2 Jul 2023 22:25:26 +0200 Subject: [PATCH] Fix: jury BUT2 --- app/but/jury_but.py | 4 ++-- sco_version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index 954481ad0..1ec6eeeaf 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -421,9 +421,9 @@ class DecisionsProposeesAnnee(DecisionsProposees): niveaux_but1_non_valides = [] for niveau in niveaux_but1: ok = False - validation_par_annee = cursus.validation_par_competence_et_annee[ + validation_par_annee = cursus.validation_par_competence_et_annee.get( niveau.competence_id - ] + ) if validation_par_annee: validation_niveau = validation_par_annee.get("BUT1") if validation_niveau and validation_niveau.code in CODES_RCUE_VALIDES: diff --git a/sco_version.py b/sco_version.py index b6ad9da7d..832f5c16d 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.95" +SCOVERSION = "9.4.96" SCONAME = "ScoDoc"