From b3d954bcceb0c6ff59ccfc5134a03ac802898a76 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Tue, 29 May 2018 15:40:23 -0500 Subject: [PATCH] Updated env variable name Since FLASK_ENV is require, no need to setup two env with same value, using FLASK_ENV instead. --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 1460b92..fd4ea1e 100644 --- a/run.py +++ b/run.py @@ -2,7 +2,7 @@ import os from app import create_app -config_name = os.getenv('FLASK_CONFIG') +config_name = os.getenv('FLASK_ENV') app = create_app(config_name) if __name__ == '__main__': -- GitLab