Commit da76a64a authored by Daniel W Bond's avatar Daniel W Bond
Browse files

moved the slack API key to secret.py

parent 03f98a6f
......@@ -4,9 +4,11 @@ from __future__ import absolute_import, print_function
import json
# third party imports
import requests
# imports from your apps
from .secret import SLACK_WEBHOOK_URL
webhook_url = 'https://hooks.slack.com/services/xxxxxxxxx/xxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx'
webhook_url = SLACK_WEBHOOK_URL
def slack_post(text, channel, username, icon_emoji):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment