mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2025-12-06 07:21:38 +01:00
add: debug output
This commit is contained in:
@@ -305,7 +305,7 @@ def create_app():
|
|||||||
with open(main_config_file) as config_file:
|
with open(main_config_file) as config_file:
|
||||||
config_data = json.load(config_file)
|
config_data = json.load(config_file)
|
||||||
app.config |= config_data
|
app.config |= config_data
|
||||||
print(config_data)
|
print(app.config)
|
||||||
|
|
||||||
if os.path.isfile(app.config["JSON_CONFIG_FILE"]):
|
if os.path.isfile(app.config["JSON_CONFIG_FILE"]):
|
||||||
with open(app.config["JSON_CONFIG_FILE"]) as f:
|
with open(app.config["JSON_CONFIG_FILE"]) as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user