From 579aca8ec5cc3708ebad41b530da67fa45aedd97 Mon Sep 17 00:00:00 2001
From: "paul.milleville.etu" <paul.milleville.etu@univ-lille.fr>
Date: Fri, 28 Feb 2025 10:16:30 +0100
Subject: [PATCH] =?UTF-8?q?modification=20de=20la=20r=C3=A9cup=C3=A9ration?=
 =?UTF-8?q?=20des=20=C3=A9tapes?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/scodoc/sco_synchro_etuds.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py
index d2989d86..6a6fc91b 100644
--- a/app/scodoc/sco_synchro_etuds.py
+++ b/app/scodoc/sco_synchro_etuds.py
@@ -267,8 +267,15 @@ def formsemestre_synchro_etuds(
             print("a_inscrire : ")
             print(a_inscrire)
             nip_etape=[]
+            nip_etape = []
+
             for etu in a_importer:
-                nip_etape.append([etu,sco_portal_apogee.get_etuds_apogee_from_nip(etu)[0].etape])
+                nip = etu[0]  # Récupère le nip (ex: 00000001)
+                etape = etu[1][0]['etape']  # Récupère l'étape (ex: 1BCASE)
+                nip_etape.append([nip, etape])
+
+            print(nip_etape)
+
             
             print("Ceci est le repère de la modification")
             print("_____________________________________________________________________________")
-- 
GitLab