diff options
author | Louis Vézina <[email protected]> | 2017-10-19 19:50:54 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2017-10-19 19:50:54 -0400 |
commit | 7d471ef0f202bbbbdd0541c893def04172e8dba7 (patch) | |
tree | 97dfea4baa1f108b7672b1473de5d2506aa65376 /get_episodes.py | |
parent | dcaa2ce0c80f1b2c511d07e8997b392b2fa86cdf (diff) | |
download | bazarr-7d471ef0f202bbbbdd0541c893def04172e8dba7.tar.gz bazarr-7d471ef0f202bbbbdd0541c893def04172e8dba7.zip |
Put log and db in data folder
Diffstat (limited to 'get_episodes.py')
-rw-r--r-- | get_episodes.py | 4 |
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
|