standardize .env loading behavior across modules

This commit is contained in:
yangdx
2025-03-29 03:48:38 +08:00
parent 9559ed857b
commit 65574459f9
4 changed files with 13 additions and 8 deletions

View File

@@ -24,9 +24,7 @@ def check_env_file():
Returns True if should continue, False if should exit.
"""
if not os.path.exists(".env"):
warning_msg = (
"Warning: Startup directory must contain .env file for multi-instance support."
)
warning_msg = "Warning: Startup directory must contain .env file for multi-instance support."
ASCIIColors.yellow(warning_msg)
# Check if running in interactive terminal