Skip to content

Commit

Permalink
Fixes if statment
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcio Granzotto Rodrigues committed Oct 6, 2016
1 parent e34a27f commit 70b1bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint_slack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def on_event(self, event, payload):
## if a channel is set, use that. if not, just don't send any
bot_channel = self._settings.get(['bot_channel'])
if bot_channel:
if bot_channel[0] != '#'
if bot_channel[0] != '#':
bot_channel = '#' + bot_channel
message['channel'] = bot_channel

Expand Down

0 comments on commit 70b1bb1

Please sign in to comment.