From 059678c3b3cc64b0962f18618d6cc0f6be2ecfcb Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 20 Jul 2024 14:39:03 +0200 Subject: [PATCH] Fix: affichage validation si UE sans ECTS --- app/models/validations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/validations.py b/app/models/validations.py index e54bc628..a9a3ad2b 100644 --- a/app/models/validations.py +++ b/app/models/validations.py @@ -116,7 +116,7 @@ class ScolarFormSemestreValidation(db.Model): if self.ue.parcours else ""} {("émise par " + link)} : {self.code}{moyenne} - {self.ue.ects:g} ECTS + {(self.ue.ects or 0):g} ECTS le {self.event_date.strftime(scu.DATEATIME_FMT)} """ else: