Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-09 14:03:46 -08:00
parent 4e8a83b3a2
commit 518fae8750

View File

@@ -139,11 +139,11 @@ def PiperTTS_GUI_TextFile_Open():
with open(Root_Window.filename) as f:
try:
Cursor_Position = Input_Box.index(INSERT)
else:
except:
print("Fucked up on the first part.")
try:
Input_Box.insert("Cursor_Position", f.read())
else:
except:
print("Fucked up on the 2nd part.")
else:
print("Canceled file dialog.")