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

@ -823,7 +823,7 @@ class FE_Machine(FE_Base):
arcade={}
), media_type="text/html; charset=utf-8")
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")))