Fix: bulletin avec UE sans ECTS

This commit is contained in:
Emmanuel Viennet 2023-01-10 09:52:11 -03:00 committed by iziram
parent dd93d952d7
commit b8b3fbb324

View File

@ -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 = {