fix: erreur edition formation (signalée par PB)

This commit is contained in:
Emmanuel Viennet 2021-08-21 00:29:13 +02:00
parent 14991a2119
commit 494f84d4f2

View File

@ -304,7 +304,7 @@ def do_formation_edit(args):
def invalidate_sems_in_formation(formation_id):
"Invalide les semestres utilisant cette formation"
for sem in sco_formsemestre.do_formsemestre_list(
None, args={"formation_id": formation_id}
args={"formation_id": formation_id}
):
sco_cache.invalidate_formsemestre(
formsemestre_id=sem["formsemestre_id"]