From 0f7715e3af4dc109e00dd2c7e946e4f70cd21045 Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Sun, 26 Oct 2014 16:14:52 -0700 Subject: remove debug.. --- wee_slack.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'wee_slack.py') 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 -- cgit