We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba41f4 commit 5a4bf66Copy full SHA for 5a4bf66
rtmbot/core.py
@@ -4,6 +4,7 @@
4
import os
5
import time
6
import logging
7
+import json
8
9
from slackclient import SlackClient
10
@@ -130,7 +131,7 @@ def output(self):
130
131
channel = self.slack_client.server.channels.find(destination)
132
else:
133
- if channel != None and message != None:
134
+ if channel is not None and message is not None:
135
if limiter:
136
time.sleep(.1)
137
limiter = False
0 commit comments