Fix "nicht bestanden" - Format

This commit is contained in:
2024-04-15 10:13:10 +02:00
parent e700a7ad97
commit e2eec5794e

View File

@ -158,7 +158,7 @@ async def getPruefung(s, url):
col = [e.text.strip() for e in cols]
if len(col) == 6 and len(col[3]) <= 13:
if len(col[3]) != 0:
ret += [col[0] + ": " + col[3]]
ret += [col[0] + ": " + col[3].split("\xa0")[0]]
if ret[-1][0] == ':':
ret[-1] = "Gesamt" + ret[-1]
if len(ret) == 0: