forked from orbit-oss/flask
Fix #2937: Ensure the consistency in load_dotenv's return type
This commit is contained in:
parent
d9fa28ba68
commit
db8cb31f2b
3 changed files with 19 additions and 3 deletions
|
|
@ -44,6 +44,9 @@ Unreleased
|
|||
:pr:`3069`
|
||||
- The development server port can be set to 0, which tells the OS to
|
||||
pick an available port. :issue:`2926`
|
||||
- The return value from :meth:`cli.load_dotenv` is more consistent
|
||||
with the documentation. It will return ``False`` if python-dotenv is
|
||||
not installed, or if the given path isn't a file. :issue:`2937`
|
||||
|
||||
.. _#2935: https://github.com/pallets/flask/issues/2935
|
||||
.. _#2957: https://github.com/pallets/flask/issues/2957
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue