Put log and db in data folder

This commit is contained in:
Louis Vézina 2017-10-19 19:50:54 -04:00
parent dcaa2ce0c8
commit 7d471ef0f2
13 changed files with 33 additions and 33 deletions

View file

@ -3,7 +3,7 @@ import time
def history_log(action, sonarrSeriesId, sonarrEpisodeId, description):
# 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