diff options
author | Tollef Fog Heen <tfheen@err.no> | 2018-05-21 10:56:33 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2018-05-21 10:56:33 +0200 |
commit | e69e1ace2fd35c4b3cdec8f7bb41e3e2eefe0eee (patch) | |
tree | b4553191f3912213ddcd9fdbba9e5398db54de7b /wee_slack.py | |
parent | b2f3fabc0cdd9638af7cfab9be758fea94698797 (diff) | |
download | wee-slack-e69e1ace2fd35c4b3cdec8f7bb41e3e2eefe0eee.tar.gz |
Handle spaces in tokens correctly instead of shouting at people to avoid them
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 820f99f..27ec621 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3902,7 +3902,7 @@ if __name__ == "__main__": # attach to the weechat hooks we need - tokens = config.slack_api_token.split(',') + tokens = map(string.strip, config.slack_api_token.split(',')) for t in tokens: s = initiate_connection(t) EVENTROUTER.receive(s) |