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