final fix for unprintable messages

This commit is contained in:
Ryan Hitchman 2009-11-23 01:37:52 -07:00
parent 3b5ec5f879
commit e07d6486b3
1 changed files with 1 additions and 1 deletions

View File

@ -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')