Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit 5a4bf66

Browse files
committed
try to fix linter errors
1 parent bba41f4 commit 5a4bf66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rtmbot/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import os
55
import time
66
import logging
7+
import json
78

89
from slackclient import SlackClient
910

@@ -130,7 +131,7 @@ def output(self):
130131
channel = self.slack_client.server.channels.find(destination)
131132
else:
132133
channel = self.slack_client.server.channels.find(destination)
133-
if channel != None and message != None:
134+
if channel is not None and message is not None:
134135
if limiter:
135136
time.sleep(.1)
136137
limiter = False

0 commit comments

Comments
 (0)