Fix: 2 typos

This commit is contained in:
Emmanuel Viennet 2024-01-22 16:30:18 +01:00
parent 74b8b90a65
commit 9989f419cb
2 changed files with 2 additions and 1 deletions

View File

@ -218,6 +218,7 @@ def fiche_etud(etudid=None):
only_to_show=True, only_to_show=True,
) )
# Parcours de l'étudiant # Parcours de l'étudiant
last_formsemestre = None
inscriptions = etud.inscriptions() inscriptions = etud.inscriptions()
info["last_formsemestre_id"] = ( info["last_formsemestre_id"] = (
inscriptions[0].formsemestre.id if inscriptions else "" inscriptions[0].formsemestre.id if inscriptions else ""

View File

@ -1115,7 +1115,7 @@ def get_code_cursus_etud(
p.append(":R") p.append(":R")
if ( if (
dec dec
and s["semestre_id"] == nt.parcours.NB_SEM and formsemestre.semestre_id == nt.parcours.NB_SEM
and code_semestre_validant(dec["code"]) and code_semestre_validant(dec["code"])
): ):
p.append(":A") p.append(":A")