From 776b0fb228dab3771a474c41160e6508db0f091e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20BARAS=20=28IUT1=20Grenoble=29?= Date: Thu, 25 Jan 2024 19:54:39 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=200=20de=20pe=5Fcomp.PE=5FDEBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pe/pe_comp.py | 2 +- app/pe/pe_etudiant.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pe/pe_comp.py b/app/pe/pe_comp.py index e57dfa4d..0b9000c9 100644 --- a/app/pe/pe_comp.py +++ b/app/pe/pe_comp.py @@ -50,7 +50,7 @@ from app.models import FormSemestre from app.scodoc import sco_formsemestre from app.scodoc.sco_logos import find_logo -PE_DEBUG = 1 +PE_DEBUG = 0 if not PE_DEBUG: # log to notes.log diff --git a/app/pe/pe_etudiant.py b/app/pe/pe_etudiant.py index ea043f3d..384765f3 100644 --- a/app/pe/pe_etudiant.py +++ b/app/pe/pe_etudiant.py @@ -110,7 +110,7 @@ class EtudiantsJuryPE: self.structure_cursus_etudiant(etudid) if (no_etud + 1) % 10 == 0: - pe_comp.pe_print((no_etud + 1), " ", end="") + pe_comp.pe_print(f"{no_etud + 1}") no_etud += 1 pe_comp.pe_print()