From f059073bfc799e05c72cda39a50bcdbbdf36569a 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 17808d704..02521cacf 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