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)