Skip to content

Commit

Permalink
Update openadapt/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Abrich <richard.abrich@gmail.com>
  • Loading branch information
Mustaballer and abrichr authored Dec 12, 2023
1 parent bf9e8bf commit 39b334e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openadapt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def persist_env(var_name: str, val: str, env_file_path: str = ENV_FILE_PATH) ->
ROOT_DIRPATH = pathlib.Path(__file__).parent.parent.resolve()
DATA_DIRECTORY_PATH = ROOT_DIRPATH / "data"
RECORDING_DIRECTORY_PATH = DATA_DIRECTORY_PATH / "recordings"
# TODO: clarify why this is necessary (see share.py)
if DB_FNAME == "openadapt.db": # noqa
DB_FPATH = ROOT_DIRPATH / DB_FNAME # noqa
else:
Expand Down

0 comments on commit 39b334e

Please sign in to comment.