minor improvement
This commit is contained in:
parent
dbdfb216c0
commit
74622a2c21
@ -125,7 +125,7 @@ class iCalendar:
|
||||
t_start_recurring, t_end_recurring)
|
||||
for ical in self.icalendars)
|
||||
|
||||
re_events = (
|
||||
events = (
|
||||
{
|
||||
'title': events.get('SUMMARY').lstrip(),
|
||||
|
||||
@ -141,7 +141,7 @@ class iCalendar:
|
||||
|
||||
|
||||
# if any recurring events were found, add them to parsed_events
|
||||
if re_events: self.parsed_events += list(re_events)
|
||||
if events: self.parsed_events += list(events)
|
||||
|
||||
# Sort events by their beginning date
|
||||
self.sort()
|
||||
|
Loading…
Reference in New Issue
Block a user