Browse Source

Merge pull request #2828 from greyli/patch-9

Update cli tips for .flaskenv
pull/2834/head
David Lord 7 years ago committed by GitHub
parent
commit
0559f7c86b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      flask/cli.py

2
flask/cli.py

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

Loading…
Cancel
Save