no log: added try/catch

This commit is contained in:
morpheus65535 2023-11-28 20:11:01 -05:00
parent f2eef70be0
commit 17312af481

View file

@ -285,7 +285,10 @@ class Scheduler:
coalesce=True, misfire_grace_time=15, id='upgrade_subtitles',
name='Upgrade previously downloaded Subtitles', replace_existing=True)
else:
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():