diff --git a/app/scodoc/sco_abs_billets.py b/app/scodoc/sco_abs_billets.py index 1de46d1e8..ee7e090bc 100644 --- a/app/scodoc/sco_abs_billets.py +++ b/app/scodoc/sco_abs_billets.py @@ -64,7 +64,7 @@ def table_billets_etud( ) -> GenTable: """Page avec table billets.""" etud = Identite.query.get_or_404(etudid) if etudid is not None else None - billets = query_billets_etud(etud.id, etat) + billets = query_billets_etud(etudid, etat) return table_billets(billets, etud=etud, with_links=with_links) diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index a9cea70a5..cfe24135a 100644 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -1113,7 +1113,7 @@ def formsemestre_status(formsemestre_id=None): "", ] # --- Lien mail enseignants: - adrlist = list(mails_enseignants - set([""])) + adrlist = list(mails_enseignants - {None, ""}) if adrlist: H.append( '
Courrier aux %d enseignants du semestre
' diff --git a/app/scodoc/sco_undo_notes.py b/app/scodoc/sco_undo_notes.py index 53fda830d..c70d133a7 100644 --- a/app/scodoc/sco_undo_notes.py +++ b/app/scodoc/sco_undo_notes.py @@ -227,11 +227,11 @@ def formsemestre_list_saisies_notes(formsemestre_id, format="html"): titles=titles, columns_ids=columns_ids, rows=rows, - html_title=f"