From 5ea65433bea76d20d59bd8708b8369914c1263f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20BARAS=20=28IUT1=20Grenoble=29?= Date: Tue, 27 Feb 2024 16:35:36 +0100 Subject: [PATCH] Coquilles --- app/pe/pe_jury.py | 3 ++- app/pe/rcss/pe_rcs.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/pe/pe_jury.py b/app/pe/pe_jury.py index 3ddf2fdb..8d8636eb 100644 --- a/app/pe/pe_jury.py +++ b/app/pe/pe_jury.py @@ -773,7 +773,8 @@ def convert_colonnes_to_multiindex(df): colonnes_verbose = [] for col in colonnes: if col[0] in pe_rcs.TYPES_RCS: - col_verbose = [pe_rcs.TYPES_RCS[col[0]]] + list(col[1:]) + descr = pe_rcs.get_descr_rcs(col[0]) + col_verbose = [descr] + list(col[1:]) col_verbose = tuple(col_verbose) else: col_verbose = col diff --git a/app/pe/rcss/pe_rcs.py b/app/pe/rcss/pe_rcs.py index 8b6af4de..c7737153 100644 --- a/app/pe/rcss/pe_rcs.py +++ b/app/pe/rcss/pe_rcs.py @@ -54,7 +54,7 @@ TYPES_RCS = { }, "3A": { "aggregat": ["S5", "S6"], - "descr": "3ème année (S5+S6)", + "descr": "BUT3 (S5+S6)", }, "5S": { "aggregat": ["S1", "S2", "S3", "S4", "S5"],