From 67c1f0e35dd0c222eb3fd4c0eb71f717f271acef Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Sat, 23 Mar 2013 14:46:07 +0100 Subject: [PATCH] Correzione * Dimenticato un \n --- Dropchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dropchat.py b/Dropchat.py index f8d6a7e..8b8b25e 100644 --- a/Dropchat.py +++ b/Dropchat.py @@ -134,7 +134,7 @@ class applicazione(tkinter.Frame): if self.file != "": with open(self.file, "a") as file: if self.testo.get() != "": - riga = "[%s] %s: %s" % (datetime.datetime.now().strftime("%d-%m-%y %H:%M"), self.preferenze["Utente"], self.testo.get()) + riga = "[%s] %s: %s\n" % (datetime.datetime.now().strftime("%d-%m-%y %H:%M"), self.preferenze["Utente"], self.testo.get()) self.testo.set("") file.write(riga)