This commit is contained in:
Emmanuel Viennet 2023-04-12 12:47:43 +02:00
parent e5cdb2ef69
commit 1c0a4f28ce

View File

@ -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")
)
}