Fix: modif semestre avec inscriptions sans parcours
This commit is contained in:
parent
564ecee186
commit
0c3b9a364c
@ -606,7 +606,8 @@ class FormSemestre(db.Model):
|
||||
[
|
||||
inscr
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user