Fix for rare case where task won't be listed in system.

pull/427/head
Louis Vézina 6 years ago
parent db189c7773
commit b738922b0c

@ -1656,6 +1656,8 @@ def system():
next_run = 'Never'
else:
next_run = pretty.date(job.next_run_time.replace(tzinfo=None))
else:
next_run = pretty.date(job.next_run_time.replace(tzinfo=None))
if isinstance(job.trigger, IntervalTrigger):
interval = "every " + get_time_from_interval(job.trigger.__getstate__()['interval'])

Loading…
Cancel
Save