Move dotenv warning to stderr

This commit is contained in:
ThiefMaster 2019-07-03 15:04:23 +02:00
parent cf4923bf58
commit 975f979269
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ Unreleased
- ``send_file`` url quotes the ":" and "/" characters for more
compatible UTF-8 filename support in some browsers. :issue:`3074`
- Fixes for PEP451 import loaders and pytest 5.x. :issue:`3275`
- Show message about dotenv on stderr instead of stdout. :issue:`3285`
Version 1.0.3

View file

@ -600,7 +600,7 @@ def load_dotenv(path=None):
click.secho(
' * Tip: There are .env files present.'
' Do "pip install python-dotenv" to use them.',
fg='yellow')
fg='yellow', err=True)
return
if path is not None: