1
0
forked from ScoDoc/ScoDoc

Fix: typo bloquant affichage formations avec UEs sans semestre_idx

This commit is contained in:
Emmanuel Viennet 2024-04-05 10:11:34 +02:00
parent bd9bf87112
commit 5eba6170a5
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ def formation_list_table(detail: bool) -> GenTable:
# utilise pour voir si la formation couvre tous les semestres
row["semestres_ues"] = ", ".join(
"S" + str(x if (x is not None and x > 0) else "-")
for x in sorted({ue.semestre_idx for ue in formation.ues})
for x in sorted({(ue.semestre_idx or 0) for ue in formation.ues})
)
# Date surtout utilisées pour le tri:
if row["formsemestres"]:

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.958"
SCOVERSION = "9.6.959"
SCONAME = "ScoDoc"