From 1c0a4f28ce6aaaee72e53554d31966c39b5874b9 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 12 Apr 2023 12:47:43 +0200 Subject: [PATCH] typo --- app/models/evaluations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/evaluations.py b/app/models/evaluations.py index 3882ff43..3e3cd07c 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") ) }