this is supposed to be optional

This commit is contained in:
burnettk 2022-10-12 10:22:32 -04:00
parent 50f28073ad
commit 03bf7a61da
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def setup_config(app: Flask) -> None:
# unversioned (see .gitignore) config that can override everything and include secrets.
# 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()
app.config["THREAD_LOCAL_DATA"] = thread_local_data