aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-25 15:20:36 -0500
committerFrederick Muriuki Muriithi2024-07-26 16:45:31 -0500
commit7ec7146f64cb6634b84f295c5a15804d7f77451f (patch)
tree652c74141b3efd38386e5b517d3989edf1cba07b /uploader
parent9d9421c6fb28c3185a81adebbbaef4b42c18746f (diff)
downloadgn-uploader-7ec7146f64cb6634b84f295c5a15804d7f77451f.tar.gz
Rename configuration variable
QCAPP_CONF --> UPLOADER_CONF
Diffstat (limited to 'uploader')
-rw-r--r--uploader/__init__.py4
1 files changed, 2 insertions, 2 deletions
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())