1
0
forked from ScoDoc/ScoDoc

Fix: bulletin avec UE sans ECTS

This commit is contained in:
Emmanuel Viennet 2023-01-10 09:52:11 -03:00
parent 592d0741ea
commit 5eed392400

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