diff --git a/app/api/partitions.py b/app/api/partitions.py index bfd1bca63..8a2d97829 100644 --- a/app/api/partitions.py +++ b/app/api/partitions.py @@ -251,7 +251,7 @@ def partition_remove_etud(partition_id: int, etudid: int): ) db.session.commit() # Update parcours - group.partition.formsemestre.update_inscriptions_parcours_from_groups() + partition.formsemestre.update_inscriptions_parcours_from_groups() app.set_sco_dept(partition.formsemestre.departement.acronym) sco_cache.invalidate_formsemestre(partition.formsemestre_id) return jsonify({"partition_id": partition_id, "etudid": etudid})