aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-26 16:23:33 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-26 16:23:33 -0700
commitcc3de348783b8430e5c6e981fe7d39126ea04435 (patch)
tree67cf4f8ff9163517a9c75f7e583bc273f76a908b /wee_slack.py
parent0f7715e3af4dc109e00dd2c7e946e4f70cd21045 (diff)
downloadwee-slack-cc3de348783b8430e5c6e981fe7d39126ea04435.tar.gz
remove more vars
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 5e09028..824c2b1 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -596,6 +596,9 @@ def write_debug(message_json):
return
w.prnt(slack_debug,output)
+def process_pong(message_json):
+ pass
+
def process_presence_change(message_json):
buffer_name = "%s.%s" % (domain, message_json["user"])
buf_ptr = w.buffer_search("",buffer_name)
@@ -1015,12 +1018,10 @@ if __name__ == "__main__":
proc = {k[8:]: v for k, v in globals().items() if k.startswith("process_")}
typing_timer = time.time()
- counter = 0
domain = None
previous_buffer = None
slack_buffer = None
slack_debug = None
- login_data = None
name = None
never_away = False
hotlist = w.infolist_get("hotlist", "", "")