forked from ScoDoc/ScoDoc
Fix: modif semestre avec inscriptions sans parcours
This commit is contained in:
parent
18f4b9cd42
commit
26dcc31ffb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user