From 390a8fdbe76e4b0aa288131ed0a206391798ea57 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Sat, 28 Sep 2024 16:44:28 -0700 Subject: [PATCH] more robust --- llama_stack/cli/stack/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/cli/stack/configure.py b/llama_stack/cli/stack/configure.py index a08d02cf2..e8105b7e0 100644 --- a/llama_stack/cli/stack/configure.py +++ b/llama_stack/cli/stack/configure.py @@ -65,7 +65,7 @@ class StackConfigure(Subcommand): f"Could not find {build_config_file}. Trying conda build name instead...", color="green", ) - if os.getenv("CONDA_PREFIX"): + if os.getenv("CONDA_PREFIX", ""): conda_dir = ( Path(os.getenv("CONDA_PREFIX")).parent / f"llamastack-{args.config}" )