Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit 3bcf919

Browse files
committed
fix commenting
1 parent f7d2686 commit 3bcf919

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

slackbot/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
'slackbot.plugins',
77
]
88

9-
# Raises a KeyError if SLACK_TOKEN
9+
1010
try:
11+
# Raises a KeyError if SLACK_TOKEN environment variable is missing
1112
API_TOKEN = os.environ['SLACK_TOKEN']
1213
except:
14+
# Alternatively, place slack token in the source code
1315
# API_TOKEN = '###token###'
1416
print 'SLACK_TOKEN missing'
1517

0 commit comments

Comments
 (0)