removed debug print statements w/ burnettk
This commit is contained in:
parent
93eb91f486
commit
85a4ee166c
|
@ -58,17 +58,14 @@ def setup_config(app: Flask) -> None:
|
||||||
try:
|
try:
|
||||||
app.config.from_object(env_config_module)
|
app.config.from_object(env_config_module)
|
||||||
except ImportStringError as exception:
|
except ImportStringError as exception:
|
||||||
print("HERE WE ARE")
|
|
||||||
raise ModuleNotFoundError(
|
raise ModuleNotFoundError(
|
||||||
f"Cannot find config module: {env_config_module}"
|
f"Cannot find config module: {env_config_module}"
|
||||||
) from exception
|
) from exception
|
||||||
print(f"env_config_module: {env_config_module}")
|
|
||||||
|
|
||||||
setup_database_uri(app)
|
setup_database_uri(app)
|
||||||
setup_logger(app)
|
setup_logger(app)
|
||||||
|
|
||||||
app.config["PERMISSIONS_FILE_FULLPATH"] = None
|
app.config["PERMISSIONS_FILE_FULLPATH"] = None
|
||||||
print(f"app.config['PERMI: {app.config['SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME']}")
|
|
||||||
if app.config["SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME"]:
|
if app.config["SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME"]:
|
||||||
app.config["PERMISSIONS_FILE_FULLPATH"] = os.path.join(
|
app.config["PERMISSIONS_FILE_FULLPATH"] = os.path.join(
|
||||||
app.root_path,
|
app.root_path,
|
||||||
|
|
Loading…
Reference in New Issue