From e877e04cc625aa08964648cc03c3cd3894ad4ad1 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 18 Jun 2024 21:00:56 +0200 Subject: [PATCH] =?UTF-8?q?Export=20Apog=C3=A9e:=20corrige=20cas=20sans=20?= =?UTF-8?q?d=C3=A9cisions=20de=20jury?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_apogee_csv.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_apogee_csv.py b/app/scodoc/sco_apogee_csv.py index 80d1e8e43..2bf9685b6 100644 --- a/app/scodoc/sco_apogee_csv.py +++ b/app/scodoc/sco_apogee_csv.py @@ -569,8 +569,7 @@ class ApoEtud(dict): # prend le plus récent avec décision for formsemestre in cur_formsemestres: res: NotesTableCompat = res_sem.load_formsemestre_results(formsemestre) - has_decision = res.etud_has_decision(self.etud.id) - if has_decision: + if apo_data.export_res_sdj or res.etud_has_decision(self.etud.id): cur_formsemestre = formsemestre self.cur_res = res break @@ -639,7 +638,7 @@ class ApoEtud(dict): has_decision = res.etud_has_decision(self.etud.id) else: has_decision = res.get_etud_decision_sem(self.etud.id) - if has_decision: + if has_decision or apo_data.export_res_sdj: autre_formsemestre = formsemestre break if autre_formsemestre is None: