From 63cf7dfc4212436fd7d4a122d4a8e431c7550b08 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 30 May 2023 22:49:41 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20nb=20d'UE=20=C3=A0=20valider=20pour=20fo?= =?UTF-8?q?rmations=20APC=20sans=20inscriptions=20aux=20parcours?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/comp/res_but.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/comp/res_but.py b/app/comp/res_but.py index 7e866a566..e4602327b 100644 --- a/app/comp/res_but.py +++ b/app/comp/res_but.py @@ -288,7 +288,7 @@ class ResultatsSemestreBUT(NotesTableCompat): if ref_comp is None: return set() if parcour_id is None: - ues_ids = {ue.id for ue in self.ues} + ues_ids = {ue.id for ue in self.ues if ue.type != UE_SPORT} else: parcour: ApcParcours = ApcParcours.query.get(parcour_id) annee = (self.formsemestre.semestre_id + 1) // 2