From 0e6faf7adb8cb2020268eabf04e2d5e70469be1a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 2 Feb 2016 19:24:19 +0100 Subject: [PATCH] Modifica al formato. --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fc2d5576..252f0a58 100644 --- a/bot.py +++ b/bot.py @@ -677,7 +677,7 @@ while True: print("@" + username + ": /diario ") cmd = text.split(" ", 1) d = filemanager.readfile("diario.txt") - d += str(time.time()) + " | " + cmd[1] + "\n" + d += "`" + str(int(time.time())) + "` | " + cmd[1] + "\n" filemanager.writefile("diario.txt", d) telegram.sendmessage("Aggiunto al diario RYG.", sentin, source) elif text.startswith('/leggi'):