aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
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 757671f..2a0a7b5 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1099,7 +1099,7 @@ class SlackTeam(object):
w.buffer_merge(self.channel_buffer, w.buffer_search_main())
def set_muted_channels(self, muted_str):
- self.muted_channels = {x for x in muted_str.split(',')}
+ self.muted_channels = {x for x in muted_str.split(',') if x}
def set_highlight_words(self, highlight_str):
self.highlight_words = {x for x in highlight_str.split(',')}