Fix: creation semestre

This commit is contained in:
Emmanuel Viennet 2023-07-04 23:31:44 +02:00
parent a2c5be22cb
commit 9b3df5febf

View File

@ -797,7 +797,7 @@ def do_formsemestre_createwithmodules(edit=False, formsemestre: FormSemestre = N
url_for(
"notes.formsemestre_status",
scodoc_dept=g.scodoc_dept,
formsemestre_id=formsemestre.id,
formsemestre_id=formsemestre.id if formsemestre else formsemestre_id,
)
)
else: