Add old schedule back in & mark covid-online classes as special classes, add a check to customizeSchedule so I don't have to patch the error every 3 minutes

This commit is contained in:
Stijn De Clercq 2020-10-23 23:50:37 +02:00
parent f77e465076
commit 68405963eb
3 changed files with 57 additions and 24 deletions

View file

@ -186,7 +186,7 @@ def getExtras(extra):
start, end
)
elif "online" in extra["slot"]:
return "**{}** gaat vandaag uitzonderlijk online door {} van **{} tot {}**.".format(
return "**{}** gaat vandaag uitzonderlijk **online** door {} van **{} tot {}**.".format(
extra["course"], location[7:],
start, end
)