aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-26 16:14:52 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-26 16:14:52 -0700
commit0f7715e3af4dc109e00dd2c7e946e4f70cd21045 (patch)
tree2dad557b04928f8d150c3754db4e558eaef11781 /wee_slack.py
parent4c95495fc9cc6f1cb4edaaca243fc9999908cc0c (diff)
downloadwee-slack-0f7715e3af4dc109e00dd2c7e946e4f70cd21045.tar.gz
remove debug..
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8de345c..5e09028 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -575,10 +575,10 @@ def slack_websocket_cb(data, fd):
proc[function_name](message_json)
except KeyError:
pass
-# if function_name:
-# dbg("Function not implemented: %s\n%s" % (function_name, message_json))
-# else:
-# dbg("Function not implemented\n%s" % (message_json))
+ if function_name:
+ dbg("Function not implemented: %s\n%s" % (function_name, message_json))
+ else:
+ dbg("Function not implemented\n%s" % (message_json))
w.bar_item_update("slack_typing_notice")
return w.WEECHAT_RC_OK
@@ -828,10 +828,6 @@ def slack_never_away_cb(data, remaining):
#NOTE: switched to async/curl because sync slowed down the UI
def async_slack_api_request(domain, token, request, post_data, priority=False):
t = time.time()
- dbg(str(domain))
- dbg(token)
- dbg(request)
- dbg(post_data)
post_elements = pickle.dumps([domain, token, request, post_data])
request += "?t=%s" % t
post_data["token"] = token