From 97daa964668323695b0209c1db17f3cc1c9e0133 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 21 Jan 2024 11:16:07 +0100 Subject: [PATCH] =?UTF-8?q?wir=20k=C3=B6nnen=20endlich=20auch=20den=20Text?= =?UTF-8?q?=20in=20die=20Datei=20schreiben!=20Damit=20ist=20der=20Code=20k?= =?UTF-8?q?urz=20vor=20benutzbar=20und=20funktional=20nahezu=20fertig!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journal.py b/journal.py index 056076d..ff7b5a7 100755 --- a/journal.py +++ b/journal.py @@ -54,7 +54,7 @@ message_text.pack() def send_button_clicked(): with open(journal_filename_path, "a") as journal_of_the_day: journal_of_the_day.write(name.get() + "\n") - journal_of_the_day.write(message_text.get() + "\n") + journal_of_the_day.write(message_text.get(1.0, "end-1c") + "\n") journal_of_the_day.write("-----------------\n") showinfo(title = "Information", message = "Deine Nachricht wurde gespeichert")