renamed processed EVENTS to monthly_events

This commit is contained in:
Fredrick W. Warren 2024-12-29 06:46:28 -07:00
parent a8cfff3dfe
commit 84674d8ae5

View File

@ -31,10 +31,10 @@ MONTHS: dict[int, list[list[int]]]
MONTHS = dict(enumerate([calendar.monthcalendar(YEAR, month) for month in
range(1, 13)], start=1))
""" convert EVENT_LIST into EVENTS """
events = [[] for _ in range(7)]
""" convert EVENT_LIST into monthly_events """
monthly_events = [[] for _ in range(7)]
for event in EVENT_LIST:
events[event[0]].append(event[1:])
monthly_events[event[0]].append(event[1:])
@dataclass
class Event():