Fix for Bazarr not updating automatically anymore.

pull/292/head
Louis Vézina 6 years ago
parent 834f4b1cdd
commit 560cf53fe1

@ -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…
Cancel
Save