diff --git a/bot.py b/bot.py index 6a21661c..572e5bb2 100644 --- a/bot.py +++ b/bot.py @@ -399,7 +399,7 @@ def diario(): cmd = text.split(" ", 1) if len(cmd) > 1: if cmd[1].isprintable(): - cmd[1] = cmd[1].replace("\n", " ").encode("unicode_escape") + cmd[1] = cmd[1].replace("\n", " ") fdiario = filemanager.readfile("diario.txt") fdiario += str(int(time.time())) + "|" + cmd[1] + "\n" filemanager.writefile("diario.txt", fdiario)