diff --git a/data/schedule.py b/data/schedule.py index 7fc3818..481098c 100644 --- a/data/schedule.py +++ b/data/schedule.py @@ -82,11 +82,11 @@ class Timeslot: # This class was canceled if self.canceled: - return f"{self.course} van {timeFromInt(self.start_time)} gaat vandaag **niet** door." + return f"⚠️ {self.course} van {timeFromInt(self.start_time)} gaat vandaag **niet** door." # Something else is wrong - return f"{self.course} gaat vandaag door van **{timeFromInt(self.start_time)}** tot " \ - f"**{timeFromInt(self.end_time)}** {self._get_location_str(online_prefix='op')}" + return f"⚠️ {self.course} gaat vandaag door van **{timeFromInt(self.start_time)}** tot " \ + f"**{timeFromInt(self.end_time)}** **{self._get_location_str(online_prefix='op')}**" @staticmethod def from_slot_dict(slot_dict: Dict, course_dict: Dict, current_week: int): diff --git a/files/schedules/31.json b/files/schedules/31.json index 3d4a244..827b617 100644 --- a/files/schedules/31.json +++ b/files/schedules/31.json @@ -35,6 +35,15 @@ } }, { + "weeks": { + "1": { + "location": { + "campus": "Sterre", + "building": "S9", + "room": "A2" + } + } + }, "location": { "campus": "Sterre", "building": "S9", @@ -114,6 +123,11 @@ } }, { + "weeks": { + "1": { + "canceled": true + } + }, "location": { "campus": "Ardoyen", "building": "iGent 125",