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: