aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-02 13:37:52 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-02 13:37:52 -0700
commite73b570c1802825f23dae544dac579a1a7a297b6 (patch)
tree6e8a1bee3f84ae72942163b5d72ab785cc1b4556 /wee_slack.py
parentf8015cc1a79f8bfc30ea8de90c55bb1fdc5629f9 (diff)
downloadwee-slack-e73b570c1802825f23dae544dac579a1a7a297b6.tar.gz
fix split of config var
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 50eedab..eaa5d9b 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -524,7 +524,7 @@ if __name__ == "__main__":
slack_api_token = w.config_get_plugin("slack_api_token")
server = w.config_get_plugin("server")
timeout = w.config_get_plugin("timeout")
- channels_always_marked_read = w.config_get_plugin("channels_always_marked_read").split(',')
+ channels_always_marked_read = [x.strip() for x in w.config_get_plugin("channels_always_marked_read").split(',')]
cmds = {k[8:]: v for k, v in globals().items() if k.startswith("command_")}
proc = {k[8:]: v for k, v in globals().items() if k.startswith("process_")}