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

Commit

Permalink
try to fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aerickson committed May 11, 2017
1 parent bba41f4 commit 5a4bf66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rtmbot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import os
import time
import logging
import json

from slackclient import SlackClient

Expand Down Expand Up @@ -130,7 +131,7 @@ def output(self):
channel = self.slack_client.server.channels.find(destination)
else:
channel = self.slack_client.server.channels.find(destination)
if channel != None and message != None:
if channel is not None and message is not None:
if limiter:
time.sleep(.1)
limiter = False
Expand Down

0 comments on commit 5a4bf66

Please sign in to comment.