From bb65216ddf7ad304d7f2fd72993f4511153b579e Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 21 Feb 2018 22:19:18 -0500 Subject: [PATCH] Use scheduler instead of direct call to function while updating all episodes --- update_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_db.py b/update_db.py index 0ab6681d3..2c4b57c88 100644 --- a/update_db.py +++ b/update_db.py @@ -55,8 +55,8 @@ if os.path.exists(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db')) except: pass else: - from get_episodes import update_all_episodes - update_all_episodes() + from scheduler import execute_now + execute_now('update_all_episodes') # Commit change to db db.commit()