From b8b3fbb32448a993d41c1ad94f6a2b4b559b93ee Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 10 Jan 2023 09:52:11 -0300 Subject: [PATCH] Fix: bulletin avec UE sans ECTS --- app/scodoc/sco_bulletins_standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_bulletins_standard.py b/app/scodoc/sco_bulletins_standard.py index 2c9c4b81..cd535be0 100644 --- a/app/scodoc/sco_bulletins_standard.py +++ b/app/scodoc/sco_bulletins_standard.py @@ -435,7 +435,7 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator): plusminus = pluslink try: ects_txt = str(int(ue["ects"])) - except (ValueError, KeyError): + except (ValueError, KeyError, TypeError): ects_txt = "-" t = {