aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2016-09-26 13:43:48 -0700
committerRyan Huber <rhuber@gmail.com>2016-09-26 13:43:48 -0700
commitf2027aa32da094497ffb4af0f926f167cff7e3fb (patch)
tree19a79b738826971a097e810d6c6e02395821f683 /wee_slack.py
parent6a769e2d5aaab4c5f68ee3a5ade355d6fba77c6a (diff)
downloadwee-slack-f2027aa32da094497ffb4af0f926f167cff7e3fb.tar.gz
derp
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index a4aedc7..ac2b57a 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -220,7 +220,7 @@ class SlackServer(object):
def connect_to_slack(self):
t = time.time()
#Double check that we haven't exceeded a long wait to connect and try again.
- if self.connecting and should_connect():
+ if self.connecting and self.should_connect():
self.connecting = False
if not self.connecting:
async_slack_api_request("slack.com", self.token, "rtm.start", {"ts": t})