Skip to content
Snippets Groups Projects
Commit e404f1df authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

logger fix

parent b00123c0
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,8 @@ class plugin:
break
if not ev[2][1]:
msg = ''
msg = msg.replace('\n', '\\n')
else:
msg = ev[2][1].replace('\n', '\\n')
fic = open(LOGPATH + jid, "a")
t = time.mktime(ev[2][2])
fic.write("%s:recv:%s\n" % (t, msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment