aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 25710df..8003d9e 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1078,7 +1078,7 @@ class SlackTeam(object):
self.set_connected()
self.connecting = False
except Exception as e:
- dbg("websocket connection error: {}".format(e))
+ dbg("websocket connection error: {}".format(decode_from_utf8(e)))
self.connecting = False
return False
else:
@@ -1544,7 +1544,7 @@ class SlackChannel(object):
nick_group = here
w.nicklist_add_nick(self.channel_buffer, nick_group, user.name, user.color_name, "", "", 1)
except Exception as e:
- dbg("DEBUG: {} {} {}".format(self.identifier, self.name, e))
+ dbg("DEBUG: {} {} {}".format(self.identifier, self.name, decode_from_utf8(e)))
else:
w.nicklist_remove_all(self.channel_buffer)
for fn in ["1| too", "2| many", "3| users", "4| to", "5| show"]: