renamed processed EVENTS to monthly_events
This commit is contained in:
parent
a8cfff3dfe
commit
84674d8ae5
6
main.py
6
main.py
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user