diff options
author | Ryan Huber <rhuber@gmail.com> | 2016-09-26 13:43:48 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2016-09-26 13:43:48 -0700 |
commit | f2027aa32da094497ffb4af0f926f167cff7e3fb (patch) | |
tree | 19a79b738826971a097e810d6c6e02395821f683 | |
parent | 6a769e2d5aaab4c5f68ee3a5ade355d6fba77c6a (diff) | |
download | wee-slack-f2027aa32da094497ffb4af0f926f167cff7e3fb.tar.gz |
derp
-rw-r--r-- | wee_slack.py | 2 |
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}) |