diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index e691a97..59a1cd5 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -288,6 +288,8 @@ class SlackServer(object): name = self.users.find(item["user"]).name self.add_channel(DmChannel(self, name, item["id"], item["is_open"], item["last_read"])) for item in data['self']['prefs']['muted_channels'].split(','): + if item == '': + continue self.channels.find(item).muted = True for item in self.channels: |