From e53fe7ba037d17719025722d30757ec662741f7f Mon Sep 17 00:00:00 2001 From: pengshiyu <1940607002@qq.com> Date: Mon, 1 Apr 2024 18:26:54 +0800 Subject: [PATCH] fix --- domain_admin/config/env_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain_admin/config/env_config.py b/domain_admin/config/env_config.py index 869d157db3..4492a346c9 100644 --- a/domain_admin/config/env_config.py +++ b/domain_admin/config/env_config.py @@ -32,4 +32,4 @@ APP_MODE = env.str("APP_MODE", 'production') # ALLOW_COMMANDS -ALLOW_COMMANDS = [cmd.strip() for cmd in env.str("ALLOW_COMMANDS", '').split(';')] +ALLOW_COMMANDS = [cmd.strip() for cmd in env.str("ALLOW_COMMANDS", '').split(';') if cmd.strip()]