Fix: modif semestre avec inscriptions sans parcours

This commit is contained in:
Emmanuel Viennet 2022-11-04 11:41:03 +01:00 committed by iziram
parent 18f4b9cd42
commit 26dcc31ffb

View File

@ -606,7 +606,8 @@ class FormSemestre(db.Model):
[ [
inscr inscr
for inscr in self.inscriptions for inscr in self.inscriptions
if inscr.parcour.code == group.group_name if (inscr.parcour is not None)
and inscr.parcour.code == group.group_name
] ]
) )
== 0 == 0