Squashed 'spiffworkflow-backend/' changes from 50f28073..03bf7a61
03bf7a61 this is supposed to be optional git-subtree-dir: spiffworkflow-backend git-subtree-split: 03bf7a61da5e4069f93e6e692b8bb8aa8bc14339
This commit is contained in:
parent
883e65384f
commit
1aea5356de
|
@ -67,7 +67,7 @@ def setup_config(app: Flask) -> None:
|
||||||
|
|
||||||
# unversioned (see .gitignore) config that can override everything and include secrets.
|
# unversioned (see .gitignore) config that can override everything and include secrets.
|
||||||
# src/spiffworkflow_backend/config/secrets.py
|
# src/spiffworkflow_backend/config/secrets.py
|
||||||
app.config.from_pyfile(os.path.join("config", "secrets.py"))
|
app.config.from_pyfile(os.path.join("config", "secrets.py"), silent=True)
|
||||||
|
|
||||||
thread_local_data = threading.local()
|
thread_local_data = threading.local()
|
||||||
app.config["THREAD_LOCAL_DATA"] = thread_local_data
|
app.config["THREAD_LOCAL_DATA"] = thread_local_data
|
||||||
|
|
Loading…
Reference in New Issue