From e07d6486b3a1acd08548e6d7d94178440ce31287 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Mon, 23 Nov 2009 01:37:52 -0700 Subject: [PATCH] final fix for unprintable messages --- plugins/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/log.py b/plugins/log.py index 10d2325..ce27906 100644 --- a/plugins/log.py +++ b/plugins/log.py @@ -105,4 +105,4 @@ def log(bot, input): fd = get_log_fd(bot.persist_dir, input.server, input.chan) fd.write(timestamp + ' ' + beau + '\n') - print timestamp, input.chan, beau + print timestamp, input.chan, beau.encode('utf8', 'ignore')