From c1d8a34e3472dc618c274b92f4ae6f85f17f304c Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 24 Aug 2024 14:33:06 +0200 Subject: [PATCH] Fix typo (PV jury pdf) --- app/scodoc/sco_pv_forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_pv_forms.py b/app/scodoc/sco_pv_forms.py index 17808d70..02521cac 100644 --- a/app/scodoc/sco_pv_forms.py +++ b/app/scodoc/sco_pv_forms.py @@ -350,7 +350,7 @@ def formsemestre_pvjury_pdf(formsemestre_id, group_ids: list[int] = None, etudid etud = Identite.get_etud(etudid) etudids = [etudid] else: - etuddescr = "" + etud = None if not group_ids: # tous les inscrits du semestre group_ids = [sco_groups.get_default_group(formsemestre_id)] @@ -399,7 +399,7 @@ def formsemestre_pvjury_pdf(formsemestre_id, group_ids: list[int] = None, etudid if tf[0] == 0: return render_template( "sco_page.j2", - title=f"Édition du PV de jury de {etud.nom_prenom()}", + title=f"Édition du PV de jury {('de ' + etud.nom_prenom()) if etud else ''}", content=f"""

Édition du PV de jury de