DIANA_CFG_DIR -> ARTEMIS_CFG_DIR

This commit is contained in:
2024-04-21 04:57:58 +00:00
parent 752d27b30a
commit 2d0c26c6ca
4 changed files with 8 additions and 3 deletions

View File

@ -841,7 +841,7 @@ class DLReport:
return True
cfg_dir = environ.get("DIANA_CFG_DIR", "config")
cfg_dir = environ.get("ARTEMIS_CFG_DIR", "config")
cfg: CoreConfig = CoreConfig()
if path.exists(f"{cfg_dir}/core.yaml"):
cfg.update(yaml.safe_load(open(f"{cfg_dir}/core.yaml")))