mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 09:02:44 +08:00
no log: added try/catch
This commit is contained in:
parent
f2eef70be0
commit
17312af481
1 changed files with 4 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue