From 58364777fa7a2c48570f00cf22c7614ff6b78598 Mon Sep 17 00:00:00 2001 From: petrus comestor Date: Tue, 29 Oct 2024 18:43:51 -0400 Subject: auto --- generate-schedule.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'generate-schedule.py') diff --git a/generate-schedule.py b/generate-schedule.py index 1541ca6..d35e33c 100755 --- a/generate-schedule.py +++ b/generate-schedule.py @@ -20,6 +20,7 @@ class Event: info: str = None special: bool = False cancelled: bool = False + changed: bool = False def render_schedule(events): s = '' @@ -41,7 +42,7 @@ def render_schedule(events): if week_change: s += '
\n' - s += f'''
+ s += f'''
{weekday}, {month} {day} · {time}
@@ -131,7 +132,7 @@ schedule = [ Event(jefferson, date(2024, 11, 6), info='Elevator in lobby to third floor. Book Swap and NYC Books Through Bars Book Drive.', special=True), Event(nook, date(2024, 11, 9)), Event(mccarren, date(2024, 11, 11)), - Event(abraco, date(2024, 11, 13), special=True, info='Wednesday Jefferson Market Library Quiet Reading moved for this week.'), + Event(abraco, date(2024, 11, 13), changed=True, info='Wednesday Jefferson Market Library Quiet Reading moved for this week.'), Event(bushwicklibrary, date(2024, 11, 14), time='6p', special=True), Event(nook, date(2024, 11, 16)), Event(wyckoffbondgarden, date(2024, 11, 16), time='12p', special=True), -- cgit v1.2.3