diff options
author | morpheus65535 <[email protected]> | 2023-11-28 20:11:01 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2023-11-28 20:11:01 -0500 |
commit | 17312af481abc38474263d5e15cadb0d6804aca3 (patch) | |
tree | 5e10ddfb03e3ec0a2b2ec537e11758817b0a0294 | |
parent | f2eef70be0587399c90f8e99e043dcbb8f1afbc8 (diff) | |
download | bazarr-17312af481abc38474263d5e15cadb0d6804aca3.tar.gz bazarr-17312af481abc38474263d5e15cadb0d6804aca3.zip |
no log: added try/catchv1.4.1-beta.0
-rw-r--r-- | bazarr/app/scheduler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bazarr/app/scheduler.py b/bazarr/app/scheduler.py index ca1684673..81d368fe5 100644 --- a/bazarr/app/scheduler.py +++ b/bazarr/app/scheduler.py @@ -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(): |