fix(kapowarr): replace db path in one more place
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
d2ff999240
commit
849a2fafd0
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ in
|
|||
"return folder_path(Constants.LOGGER_FILENAME)" \
|
||||
"return f\"{environ.get('KAPOWARR_LOG_DIR')}/{Constants.LOGGER_FILENAME}\""
|
||||
|
||||
sed -i '/from __future__ import annotations/a from os import environ' ./backend/internals/db.py
|
||||
|
||||
substituteInPlace ./backend/internals/db.py --replace-fail \
|
||||
"db_folder or folder_path(*Constants.DB_FOLDER)" \
|
||||
"environ.get('KAPOWARR_STATE_DIR')"
|
||||
|
||||
substituteInPlace ./backend/internals/settings.py \
|
||||
--replace-fail \
|
||||
"from os import urandom" \
|
||||
|
|
Loading…
Add table
Reference in a new issue