diff --git a/app/models/evaluations.py b/app/models/evaluations.py index 3882ff4360..3e3cd07cdf 100644 --- a/app/models/evaluations.py +++ b/app/models/evaluations.py @@ -197,7 +197,7 @@ class Evaluation(db.Model): return { p.ue.id: p.poids for p in sorted( - self.ue_poids, key=lambda p: attrgetter("ue.numero", "ue.acronyme") + self.ue_poids, key=attrgetter("ue.numero", "ue.acronyme") ) }