From d5ff4f79a8448f3f9f0db7a6184c94b6d1857f23 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 9 Jul 2022 13:32:14 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20jury=20BUT:=20UE=20CMP=20et=20ADJ=20affi?= =?UTF-8?q?ch=C3=A9es=20comme=20valid=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_codes_parcours.py | 2 +- app/scodoc/sco_pvjury.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_codes_parcours.py b/app/scodoc/sco_codes_parcours.py index dc59aeb2..14c8d8f9 100644 --- a/app/scodoc/sco_codes_parcours.py +++ b/app/scodoc/sco_codes_parcours.py @@ -216,7 +216,7 @@ def code_semestre_attente(code: str) -> bool: def code_ue_validant(code: str) -> bool: - "Vrai si ce code entraine la validation des UEs du semestre." + "Vrai si ce code d'UE est validant (ie attribue les ECTS)" return CODES_UE_VALIDES.get(code, False) diff --git a/app/scodoc/sco_pvjury.py b/app/scodoc/sco_pvjury.py index 019dbfbf..395f6107 100644 --- a/app/scodoc/sco_pvjury.py +++ b/app/scodoc/sco_pvjury.py @@ -96,7 +96,7 @@ def _descr_decisions_ues(nt, etudid, decisions_ue, decision_sem) -> list[dict]: for ue_id in decisions_ue.keys(): try: if decisions_ue[ue_id] and ( - decisions_ue[ue_id]["code"] == sco_codes_parcours.ADM + sco_codes_parcours.code_ue_validant(decisions_ue[ue_id]["code"]) or ( # XXX ceci devrait dĂ©pendre du parcours et non pas ĂȘtre une option ! #sco8 decision_sem