Correzione

* Dimenticato un \n
This commit is contained in:
Rnhmjoj 2013-03-23 14:46:07 +01:00
parent 88578d42ce
commit 67c1f0e35d

View File

@ -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)