changed db path

This commit is contained in:
Shaquille Soekhlal 2021-02-15 11:50:20 +01:00
parent 8ba82ef0db
commit 7375ffe830

View File

@ -190,7 +190,7 @@ WSGI_APPLICATION = 'CalibreWebCompanion.wsgi.application'
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases # https://docs.djangoproject.com/en/3.0/ref/settings/#databases
if usersettings["ISDOCKER"]: if usersettings["ISDOCKER"]:
defaultdb_path = "/usr/src/app/data/" defaultdb_path = "calibre"
else: else:
defaultdb_path = BASE_DIR defaultdb_path = BASE_DIR