mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-20 13:38:32 +00:00
syntax fix w/ burnettk
This commit is contained in:
parent
ca2a4cdd10
commit
39288fd233
@ -61,7 +61,7 @@ def setup_config(app: Flask) -> None:
|
|||||||
os.environ.get("TERRAFORM_DEPLOYED_ENVIRONMENT") == "true"
|
os.environ.get("TERRAFORM_DEPLOYED_ENVIRONMENT") == "true"
|
||||||
and os.environ.get("SPIFFWORKFLOW_BACKEND_ENV") is not None
|
and os.environ.get("SPIFFWORKFLOW_BACKEND_ENV") is not None
|
||||||
):
|
):
|
||||||
app.config.from_object("{env_config_prefix}terraform_deployed_environment")
|
app.config.from_object(f"{env_config_prefix}terraform_deployed_environment")
|
||||||
else:
|
else:
|
||||||
raise ModuleNotFoundError(
|
raise ModuleNotFoundError(
|
||||||
f"Cannot find config module: {env_config_module}"
|
f"Cannot find config module: {env_config_module}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user