diff --git a/app/models/formsemestre.py b/app/models/formsemestre.py index 316811c4fc..7a55e16b7d 100644 --- a/app/models/formsemestre.py +++ b/app/models/formsemestre.py @@ -181,7 +181,7 @@ class FormSemestre(db.Model): """ d = dict(self.__dict__) d.pop("_sa_instance_state", None) - d["annee_scolaire"] = self.annee_scolaire_str() + d["annee_scolaire"] = self.annee_scolaire() if self.date_debut: d["date_debut"] = self.date_debut.strftime("%d/%m/%Y") d["date_debut_iso"] = self.date_debut.isoformat()