Fix: bulletin avec UE sans ECTS
This commit is contained in:
parent
dd93d952d7
commit
b8b3fbb324
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user