diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index 49aef568..1a018bad 100644 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -1115,9 +1115,8 @@ def formsemestre_tableau_modules( H = [] prev_ue_id = None for modimpl in modimpls: - # mod = modimpl["module"] mod = Module.query.get(modimpl["module_id"]) - mod_descr = "Module " + mod.titre + mod_descr = "Module " + mod.titre or "" if mod.is_apc(): coef_descr = ", ".join( [f"{ue_acro}: {co}" for ue_acro, co in mod.ue_coefs_descr()]