Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
load_dotenv returns true even if no file exists #2937
If no file is loaded/exists,
from flask import Flask from flask.cli import load_dotenv app = Flask(__name__) result = load_dotenv('not-exist') assert result
does not fail.