Skip to content

Commit

Permalink
Add better error message if TK is missing on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Jul 30, 2022
1 parent a191709 commit 1fab2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _TKAskPath(subMod):
try:
Tk
except NameError:
raise RuntimeError("Tk is not installed on this system")
raise Exception("Tk is not installed on this system. NOTE: You can still manually copy and paste the game path into the 'Currently Chosen Path' box.")

# TODO: on 2.7 you can use .withdraw on the root window, but on python 3 it prevents the filedialog from showing!
# TODO: for now, put up with the root window showing when choosing path manually
Expand Down

0 comments on commit 1fab2ca

Please sign in to comment.