From 70ffb7019cdd67d18e974e782720bd00c915c9ab Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Thu, 13 Apr 2017 15:45:57 +0000 Subject: wrong var name --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wee_slack.py') diff --git a/wee_slack.py b/wee_slack.py index 3ad2b6a..cf5ec1f 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2579,7 +2579,7 @@ def command_talk(data, current_buffer, args): c = team.get_channel_map() if channel_name.startswith('#'): - channel_name = arg[1:] + channel_name = channel_name[1:] if channel_name in c: chan = team.channels[c[channel_name]] chan.open() -- cgit