Skip to content

Commit 3589856

Browse files
committed
Fix Travis testing
1 parent 13b17d1 commit 3589856

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010

1111
class Config(object):
12-
FLASK_ENV = os.environ['FLASK_ENV']
12+
# If not set fall back to production for safety
13+
FLASK_ENV = os.getenv('FLASK_ENV', 'production')
1314
# Set FLASK_SECRET on your production Environment
1415
SECRET_KEY = os.getenv('FLASK_SECRET', 'Secret')
1516

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy