From 45a751903b88325664368c22c20983a3531e7fae Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Wed, 15 Dec 2021 00:22:19 +1000 Subject: [PATCH] Fixed missed changes in last commit. --- eris/eris/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eris/eris/__main__.py b/eris/eris/__main__.py index 2426b40..10cbbce 100755 --- a/eris/eris/__main__.py +++ b/eris/eris/__main__.py @@ -1071,14 +1071,14 @@ def chdir(path): def source_checksum(): resources = ["__main__.py", "tools.py"] - if "config" not in os.environ: + if "ERIS_CONFIG" not in os.environ: resources.append("tools.toml") checksum_paths = [] for resource in resources: with importlib.resources.path(eris, resource) as resource_path: checksum_paths.append(resource_path) - if "config" in os.environ: - checksum_paths.append(os.environ["config"]) + if "ERIS_CONFIG" in os.environ: + checksum_paths.append(os.environ["ERIS_CONFIG"]) sha256 = hashlib.sha256() for path in checksum_paths: with open(path, "rb") as source_file: