diff options
author | Frederick Muriuki Muriithi | 2023-03-23 09:12:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-03-23 09:12:53 +0300 |
commit | de20ab3834f2a84fd3f2ba9657650e28898e27f0 (patch) | |
tree | 0d552a563eeddcdf4b7f27d0725df6436677ef22 /gn3/api/general.py | |
parent | dfc0c9fd051000afed95547e36aa494520b096f0 (diff) | |
download | genenetwork3-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/general.py')
0 files changed, 0 insertions, 0 deletions