Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reflex/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _load_dotenv_from_str(env_files: str) -> None:

if load_dotenv is None:
console.error(
"""The `python-dotenv` package is required to load environment variables from a file. Run `pip install "python-dotenv>=1.0.1"`."""
"""The `python-dotenv` package is required to load environment variables from a file. Run `pip install "python-dotenv>=1.1.0"`."""
)
return

Expand All @@ -68,7 +68,7 @@ def _load_dotenv_from_str(env_files: str) -> None:


# Load the env files at import time if they are set in the ENV_FILE environment variable.
if load_dotenv is not None and (env_files := os.getenv("ENV_FILE")):
if env_files := os.getenv("ENV_FILE"):
_load_dotenv_from_str(env_files)


Expand Down
Loading