Skip to content

Commit

Permalink
maybe fixed it from crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Thinkseal authored Nov 29, 2024
1 parent d890e4d commit 5101b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versions/gui_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def add_copy_buttons():

root = Tk()
root.title("Translator")
ico = Image.open(os.path.join(dir,'../images/icon.ico'))
ico = Image.open(os.path.join(dir,'./images/icon.ico'))
photo = ImageTk.PhotoImage(ico)
copy_icon = Image.open(os.path.join(dir,'../images/content_copy.png'))
copy_icon = Image.open(os.path.join(dir,'./images/content_copy.png'))
copy_icon = ImageTk.PhotoImage(copy_icon)
root.wm_iconphoto(False, photo)
root.geometry("240x350")
Expand Down

0 comments on commit 5101b00

Please sign in to comment.