From 138f9597f50e7b633390a3c15b49a3a470aab90e Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 24 Jan 2023 08:51:05 -0300 Subject: [PATCH] =?UTF-8?q?Fix:=20avis=20poursuites=20=C3=A9tudes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pe/pe_jurype.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/pe/pe_jurype.py b/app/pe/pe_jurype.py index 4aed6fc6d..502027529 100644 --- a/app/pe/pe_jurype.py +++ b/app/pe/pe_jurype.py @@ -459,8 +459,7 @@ class JuryPE(object): etud = self.get_cache_etudInfo_d_un_etudiant(etudid) (_, parcours) = sco_report.get_codeparcoursetud(etud) if ( - len(set(sco_codes_parcours.CODES_SEM_REO.keys()) & set(parcours.values())) - > 0 + len(sco_codes_parcours.CODES_SEM_REO & set(parcours.values())) > 0 ): # Eliminé car NAR apparait dans le parcours reponse = True if pe_tools.PE_DEBUG and pe_tools.PE_DEBUG >= 2: