forked from orbit-oss/flask
Add cli tips for .flaskenv
This commit is contained in:
parent
161c43649d
commit
f036308442
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue