diff options
Diffstat (limited to 'init_db.py')
-rw-r--r-- | init_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init_db.py b/init_db.py index fab283f9a..0a70906d8 100644 --- a/init_db.py +++ b/init_db.py @@ -2,7 +2,7 @@ import os.path import sqlite3
# Check if database exist
-if os.path.exists('bazarr.db') == True:
+if os.path.exists('data/db/bazarr.db') == True:
pass
else:
# Get SQL script from file
@@ -10,7 +10,7 @@ else: script = fd.read()
# Open database connection
- db = sqlite3.connect('bazarr.db')
+ db = sqlite3.connect('data/db/bazarr.db')
c = db.cursor()
# Execute script and commit change to database
|