From b9cfcf32942910f841fe5953647c07f04f2b6387 Mon Sep 17 00:00:00 2001 From: Pari Date: Wed, 11 Sep 2024 22:28:59 +0200 Subject: [PATCH] fix ENV variable setter (#153) --- brickflow/cli/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brickflow/cli/configure.py b/brickflow/cli/configure.py index 5fa0d63..2375361 100644 --- a/brickflow/cli/configure.py +++ b/brickflow/cli/configure.py @@ -121,7 +121,7 @@ def callback( value: Any, ) -> None: # pylint: disable=unused-argument - if value is not None: + if value is not None and len(value) > 0: _ilog.info("Setting env var: %s to %s...", env_var, value) if isinstance(value, list): os.environ[env_var] = ",".join(value)