mirror of https://gitlab.com/bashrc2/epicyon
More debug
parent
4151ba0ee9
commit
860b10c228
|
@ -374,8 +374,9 @@ def get_todays_events(base_dir: str, nickname: str, domain: str,
|
||||||
events[day_of_month].append(post_event)
|
events[day_of_month].append(post_event)
|
||||||
events[day_of_month] = \
|
events[day_of_month] = \
|
||||||
_sort_todays_events(events[day_of_month])
|
_sort_todays_events(events[day_of_month])
|
||||||
except OSError:
|
except OSError as exc:
|
||||||
print('EX: get_todays_events failed to read ' + calendar_filename)
|
print('EX: get_todays_events failed to read ' +
|
||||||
|
calendar_filename + ' ' + str(exc))
|
||||||
|
|
||||||
# if some posts have been deleted then regenerate the calendar file
|
# if some posts have been deleted then regenerate the calendar file
|
||||||
if recreate_events_file:
|
if recreate_events_file:
|
||||||
|
|
Loading…
Reference in New Issue