aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/ctl.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-03-23 09:12:53 +0300
committerFrederick Muriuki Muriithi2023-03-23 09:12:53 +0300
commitde20ab3834f2a84fd3f2ba9657650e28898e27f0 (patch)
tree0d552a563eeddcdf4b7f27d0725df6436677ef22 /gn3/api/ctl.py
parentdfc0c9fd051000afed95547e36aa494520b096f0 (diff)
downloadgenenetwork3-de20ab3834f2a84fd3f2ba9657650e28898e27f0.tar.gz
conf: use flask.current_app.config not in gn3.settings
The configuration in gn3.settings can (and does) get overwritten by values in the environment variable `GN3_CONF` and any configurations passed in the call to the `gn3.app.create_app` function; as such, this commit changes the configuration used in the code to user the final configuration values that are in the running application's `flask.current_app.config` object.
Diffstat (limited to 'gn3/api/ctl.py')
0 files changed, 0 insertions, 0 deletions