diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-04-04 12:39:11 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-04-04 12:39:11 -0700 |
commit | 752ef2c953350cedc37eadb39caff1898936a960 (patch) | |
tree | c9ba019912b7ea84116ed25562abc464409529f8 /wee_slack.py | |
parent | ec4a1807c2092d6eaf6fe9a23bbc34325bf57b05 (diff) | |
download | wee-slack-752ef2c953350cedc37eadb39caff1898936a960.tar.gz |
fixed error in close_slack_debug arg order
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 6a0a687..61e0888 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -44,6 +44,9 @@ def command_away(args): def command_back(args): async_slack_api_request(None, 'presence.set', {"presence":"active"}) +def command_printvar(args): + w.prnt("", str(eval(args))) + def command_debug(args): create_slack_debug_buffer() @@ -350,7 +353,7 @@ def create_slack_debug_buffer(): w.buffer_set(slack_debug, "display", "1") else: debug_string = None - slack_debug = w.buffer_new("slack-debug", "", "closed_slack_debug_buffer_cb", "", "") + slack_debug = w.buffer_new("slack-debug", "", "", "closed_slack_debug_buffer_cb", "") w.buffer_set(slack_debug, "notify", "0") w.buffer_set(slack_debug, "display", "1") @@ -383,6 +386,7 @@ if __name__ == "__main__": previous_buffer = None slack_buffer = None + slack_debug = None #create_slack_buffer() browser = create_browser_instance() |