aboutsummaryrefslogtreecommitdiffhomepage
path: root/get_episodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'get_episodes.py')
-rw-r--r--get_episodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/get_episodes.py b/get_episodes.py
index 24ffee633..692e0cbd2 100644
--- a/get_episodes.py
+++ b/get_episodes.py
@@ -6,7 +6,7 @@ from list_subtitles import *
def update_all_episodes():
# Open database connection
- db = sqlite3.connect('bazarr.db')
+ db = sqlite3.connect('data/db/bazarr.db')
c = db.cursor()
# Get Sonarr API URL from database config table
@@ -65,7 +65,7 @@ def update_all_episodes():
def add_new_episodes():
# Open database connection
- db = sqlite3.connect('bazarr.db')
+ db = sqlite3.connect('data/db/bazarr.db')
c = db.cursor()
# Get Sonarr API URL from database config table