diff --git a/app/scodoc/sco_abs_billets.py b/app/scodoc/sco_abs_billets.py index 1de46d1e..ee7e090b 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 a9cea70a..cfe24135 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 53fda830..c70d133a 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"