aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-03 20:37:26 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-03 20:37:26 -0800
commitbf662aeda1da97c6b5e08a6d5a4efe08529d1265 (patch)
treedaf7ec26cd1d0f7a961cd868a381b593cd4bb857 /wee_slack.py
parent352f31322697fecfc572120230535334c4520726 (diff)
downloadwee-slack-bf662aeda1da97c6b5e08a6d5a4efe08529d1265.tar.gz
fix error conditions
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 9c1721a..92ea69c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -757,10 +757,9 @@ class SlackChannel(object):
if self.unread_count != 0:
w.buffer_set(self.channel_buffer, "hotlist", "1")
else:
- print "no unread in {}".format(self.name)
+ dbg("no unread in {}".format(self.name))
except:
- print "no unread count"
- pass
+ dbg("exception no unread count")
#if self.unread_count != 0 and not self.muted:
# w.buffer_set(self.channel_buffer, "hotlist", "1")
def destroy_buffer(self, update_remote):