Fix slack integration settings
@@ -8,6 +8,6 @@ INTEGRATIONS_SLACK_WEBHOOKS = config.get_string('POLYAXON_INTEGRATIONS_SLACK_WEB
if INTEGRATIONS_SLACK_WEBHOOKS:
# Parse the web hooks
- INTEGRATIONS_WEBHOOKS = json.loads(INTEGRATIONS_SLACK_WEBHOOKS)
- if not isinstance(INTEGRATIONS_WEBHOOKS, list):
- INTEGRATIONS_WEBHOOKS = None
+ INTEGRATIONS_SLACK_WEBHOOKS = json.loads(INTEGRATIONS_SLACK_WEBHOOKS)
+ if not isinstance(INTEGRATIONS_SLACK_WEBHOOKS, list):
+ INTEGRATIONS_SLACK_WEBHOOKS = None
