aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 884b77c..3f9e5cc 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -162,6 +162,7 @@ def process_message(message_json):
text = text.encode('ascii', 'ignore')
else:
text = "%s\tEDITED: %s" % (user, message_json["message"]["text"])
+ text = text.encode('ascii', 'ignore')
if channel.startswith('DM/'):
buffer_name = "%s.%s" % (server, channel[3:])
else: