Correzione
* Dimenticato un \n
This commit is contained in:
parent
88578d42ce
commit
67c1f0e35d
@ -134,7 +134,7 @@ class applicazione(tkinter.Frame):
|
|||||||
if self.file != "":
|
if self.file != "":
|
||||||
with open(self.file, "a") as file:
|
with open(self.file, "a") as file:
|
||||||
if self.testo.get() != "":
|
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("")
|
self.testo.set("")
|
||||||
file.write(riga)
|
file.write(riga)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user