From 5658b93b0266f21896c309b5ca102a640b97bbb2 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 20 Jul 2014 21:30:38 +0200 Subject: [PATCH] I hate this shit. --- log.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/log.py b/log.py index c76f2e6..7d11a98 100755 --- a/log.py +++ b/log.py @@ -5,7 +5,6 @@ Copyright 2014, sfan5 """ import time -import sys loglevels = { 'TEXT': 'TXT', # TEXT: purely informal message that appears in masses e.g. a command being executed @@ -24,7 +23,6 @@ def log(level, text, phenny): f.close() if level == 'ACTION': phenny.write(['PRIVMSG', actionchannel], actionhighlight + ": " + text) - sys.stdout.write(bytes(level + " " + text, 'utf-8', 'ignore')) def fmt_user(input): return "%s(%s)" % (input.nick, input.hostmask)