diff --git a/app/scodoc/sco_moduleimpl_inscriptions.py b/app/scodoc/sco_moduleimpl_inscriptions.py index c693c922..ec5ff86e 100644 --- a/app/scodoc/sco_moduleimpl_inscriptions.py +++ b/app/scodoc/sco_moduleimpl_inscriptions.py @@ -553,8 +553,11 @@ def _list_but_ue_inscriptions(res: NotesTableCompat, read_only: bool = True) -> >{etud.nomprenom}""" ) # Parcours: - group = partition_parcours.get_etud_group(etud.id) - parcours_name = group.group_name if group else "" + if partition_parcours: + group = partition_parcours.get_etud_group(etud.id) + parcours_name = group.group_name if group else "" + else: + parcours_name = "" H.append(f"""