diff options
author | Ryan Huber <rhuber@gmail.com> | 2017-02-05 16:40:25 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2017-02-05 16:40:25 -0800 |
commit | 93ce428ce1c641fd6498391a340134256cc81454 (patch) | |
tree | faba9dce8b3ebccd7fb5dcee017934ab6044c364 /wee_slack.py | |
parent | bc1848fb3ce09ec4f3be9ac768a749fc66681ade (diff) | |
download | wee-slack-93ce428ce1c641fd6498391a340134256cc81454.tar.gz |
before return
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 9402990..9923f9d 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -261,6 +261,7 @@ class EventRouter(object): self.receive(request_metadata) elif return_code != -1: self.reply_buffer.pop(request_metadata.response_id, None) + self.delete_context(data) else: if request_metadata.response_id not in self.reply_buffer: self.reply_buffer[request_metadata.response_id] = "" @@ -808,9 +809,8 @@ class SlackTeam(object): self.connecting = False except Exception as e: dbg("websocket connection error: {}".format(e)) - #self.set_reconnect_url(None) - return False self.connecting = False + return False else: #The fast reconnect failed, so start over-ish for chan in self.channels: |