mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-04 22:40:30 +00:00
Use dev/data as data dir during development
This commit is contained in:
parent
7029e6915a
commit
190c8bdba4
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from pathlib import Path
|
|||
|
||||
def get_data_dir() -> Path:
|
||||
data_dir_env_variable = "ADVLABDB_DATA_DIR"
|
||||
data_dir = Path(environ.get(data_dir_env_variable, "dev_data")).resolve()
|
||||
data_dir = Path(environ.get(data_dir_env_variable, "dev/data")).resolve()
|
||||
|
||||
if not data_dir.is_dir():
|
||||
sys.exit(
|
||||
|
|
Loading…
Reference in a new issue