diff --git a/scheduler.py b/scheduler.py index 0ea4cc469..333b3c268 100644 --- a/scheduler.py +++ b/scheduler.py @@ -6,7 +6,8 @@ from get_episodes import update_all_episodes, update_all_movies, sync_episodes from get_movies import update_movies from list_subtitles import store_subtitles from get_subtitle import wanted_search_missing_subtitles -from check_update import check_and_apply_update +if no_update is False: + from check_update import check_and_apply_update from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.triggers.interval import IntervalTrigger @@ -63,4 +64,4 @@ if integration[12] is True or integration[13] is True: sonarr_full_update() radarr_full_update() -scheduler.start() \ No newline at end of file +scheduler.start()