aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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})