From 7ec7146f64cb6634b84f295c5a15804d7f77451f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 25 Jul 2024 15:20:36 -0500 Subject: Rename configuration variable QCAPP_CONF --> UPLOADER_CONF --- uploader/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uploader/__init__.py') diff --git a/uploader/__init__.py b/uploader/__init__.py index 00ed7e7..feffcae 100644 --- a/uploader/__init__.py +++ b/uploader/__init__.py @@ -25,8 +25,8 @@ def create_app(): app = Flask(__name__) app.config.from_pyfile( Path(__file__).parent.joinpath("default_settings.py")) - if "QCAPP_CONF" in os.environ: - app.config.from_envvar("QCAPP_CONF") # Override defaults with instance path + if "UPLOADER_CONF" in os.environ: + app.config.from_envvar("UPLOADER_CONF") # Override defaults with instance path override_settings_with_envvars(app, ignore=tuple()) -- cgit v1.2.3