Merge pull request #3285 from ThiefMaster/dotenv-msg-stderr

Move dotenv warning to stderr
This commit is contained in:
David Lord 2019-07-03 10:15:32 -07:00 committed by GitHub
commit c07475935c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: