Fix #2937: Ensure the consistency in load_dotenv's return type

This commit is contained in:
Adarsh Sharma 2018-10-11 16:52:15 +05:30 committed by David Lord
parent d9fa28ba68
commit db8cb31f2b
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 19 additions and 3 deletions

View file

@ -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