mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
a31a99f60c
commit
4151ba0ee9
|
@ -258,7 +258,8 @@ def _sort_todays_events(post_events_list: []) -> []:
|
|||
for post_event in post_events_list:
|
||||
for tag in post_event:
|
||||
# only check events (not places)
|
||||
if tag['type'] == 'Event':
|
||||
if tag['type'] != 'Event':
|
||||
continue
|
||||
event_time = \
|
||||
date_from_string_format(tag['startTime'],
|
||||
["%Y-%m-%dT%H:%M:%S%z"])
|
||||
|
|
Loading…
Reference in New Issue