mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-13 10:17:43 +08:00
Fix for Bazarr not updating automatically anymore.
This commit is contained in:
parent
834f4b1cdd
commit
560cf53fe1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ else:
|
|||
scheduler = BackgroundScheduler()
|
||||
|
||||
if no_update is False:
|
||||
if settings.sonarr.auto_update:
|
||||
if settings.general.getboolean('auto_update'):
|
||||
scheduler.add_job(check_and_apply_update, IntervalTrigger(hours=6), max_instances=1, coalesce=True, misfire_grace_time=15, id='update_bazarr', name='Update bazarr from source on Github')
|
||||
else:
|
||||
scheduler.add_job(check_and_apply_update, CronTrigger(year='2100'), hour=4, id='update_bazarr', name='Update bazarr from source on Github')
|
||||
|
|
Loading…
Reference in a new issue