final fix for unprintable messages
This commit is contained in:
parent
3b5ec5f879
commit
e07d6486b3
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue