|
|
@ -67,7 +67,7 @@ else:
|
|
|
|
scheduler = BackgroundScheduler()
|
|
|
|
scheduler = BackgroundScheduler()
|
|
|
|
|
|
|
|
|
|
|
|
if not args.no_update:
|
|
|
|
if not args.no_update:
|
|
|
|
if settings.general.getboolean('auto-update'):
|
|
|
|
if settings.general.getboolean('auto_update'):
|
|
|
|
scheduler.add_job(check_and_apply_update, IntervalTrigger(hours=6), max_instances=1, coalesce=True,
|
|
|
|
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')
|
|
|
|
misfire_grace_time=15, id='update_bazarr', name='Update bazarr from source on Github')
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|