aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-09 14:05:40 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-09 14:05:40 -0800
commit8268c049c37668ef719d8dc917e8d02a6f3673e2 (patch)
tree6095d0ea8235d8b4ae9474d73c3159802837d5bd
parenta0ee784b18c7096c2beef9294a61dc4e850b3aa4 (diff)
downloadwee-slack-8268c049c37668ef719d8dc917e8d02a6f3673e2.tar.gz
fix debugger
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index cca88a6..8e872d2 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2616,8 +2616,8 @@ def label_command_cb(data, current_buffer, args):
new_name = " +" + aargs[1]
w.buffer_set(channel.channel_buffer, "short_name", new_name)
-@slack_buffer_required
def command_p(data, current_buffer, args):
+ args = args.split(' ', 1)[1]
w.prnt("", "{}".format(eval(args)))
###### NEW EXCEPTIONS