From b7970d2a51e1cc77ede938320001299cba5e110d Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Tue, 9 Dec 2025 15:00:00 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index cb77bde..25f7f9c 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -213,17 +213,17 @@ try: except: print("3 Fuckup.") try: - MyTestText2 = len(MyTestText.readlines()) + MyTestText2 = len(MyTestText.splitlines()) except: print("4 Fuckup.") try: print(MyTestText2) except: - print("5th Fuckup." + print("5th Fuckup.") except: print("An exception occurred - trying to count like dracula.") -My_Test_Labe2 = Label(Controls_Box_Frame, textvariable=MyTestText) +My_Test_Labe2 = Label(Controls_Box_Frame, textvariable=MyTestText2) My_Test_Label.grid(row=2, column=0, columnspan=4) # Aligning Buttons to grid