old_contents: import json
  
  from polyaxon.config_manager import config
  
  INTEGRATIONS_SLACK_WEBHOOKS = config.get_string('POLYAXON_INTEGRATIONS_SLACK_WEBHOOKS',
                                                  is_optional=True,
                                                  is_local=True)
  
  if INTEGRATIONS_SLACK_WEBHOOKS:
      # Parse the web hooks
      INTEGRATIONS_WEBHOOKS = json.loads(INTEGRATIONS_SLACK_WEBHOOKS)
      if not isinstance(INTEGRATIONS_WEBHOOKS, list):
          INTEGRATIONS_WEBHOOKS = None
  
new_contents: import json
  
  from polyaxon.config_manager import config
  
  INTEGRATIONS_SLACK_WEBHOOKS = config.get_string('POLYAXON_INTEGRATIONS_SLACK_WEBHOOKS',
                                                  is_optional=True,
                                                  is_local=True)
  
  if INTEGRATIONS_SLACK_WEBHOOKS:
      # Parse the web hooks
      INTEGRATIONS_SLACK_WEBHOOKS = json.loads(INTEGRATIONS_SLACK_WEBHOOKS)
      if not isinstance(INTEGRATIONS_SLACK_WEBHOOKS, list):
          INTEGRATIONS_SLACK_WEBHOOKS = None
  
subject: Fix slack integration settings