Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user