diff --git a/morss.py b/morss.py index c501f80..41f3086 100644 --- a/morss.py +++ b/morss.py @@ -50,7 +50,7 @@ def log(txt): print txt if SERVER: with open('morss.log', 'a') as file: - file.write(str(txt).encode('utf-8') + "\n") + file.write(repr(txt).encode('utf-8') + "\n") def cleanXML(xml): table = string.maketrans('', '')