no log: added try/catch

pull/2315/head v1.4.1-beta.0
morpheus65535 12 months ago
parent f2eef70be0
commit 17312af481

@ -285,7 +285,10 @@ class Scheduler:
coalesce=True, misfire_grace_time=15, id='upgrade_subtitles',
name='Upgrade previously downloaded Subtitles', replace_existing=True)
else:
self.aps_scheduler.remove_job(job_id='upgrade_subtitles')
try:
self.aps_scheduler.remove_job(job_id='upgrade_subtitles')
except JobLookupError:
pass
def __randomize_interval_task(self):
for job in self.aps_scheduler.get_jobs():

Loading…
Cancel
Save