From ffbf0235fd431b4d26889bc56be094274fb4cf7c Mon Sep 17 00:00:00 2001 From: Cheng Qian Date: Fri, 19 Jan 2024 14:17:19 -0500 Subject: [PATCH] chore: test --- assistant_skill_analysis/utils/parse_secret.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assistant_skill_analysis/utils/parse_secret.py b/assistant_skill_analysis/utils/parse_secret.py index 6cd6b93..22f7f27 100644 --- a/assistant_skill_analysis/utils/parse_secret.py +++ b/assistant_skill_analysis/utils/parse_secret.py @@ -3,7 +3,7 @@ WA_SECRETS = ["WA_CONFIG", "WA_CONFIG_ACTION"] if __name__ == "__main__": - raise ValueError(str(os.environ["WA_CONFIG"])) + raise ValueError(len(str(os.environ["WA_CONFIG"]).strip())) for secret in WA_SECRETS: entry = os.environ[secret] with open("./" + secret.lower() + ".txt", "w", encoding="utf-8") as f: