Skip to content

Commit

Permalink
Update modif_simple.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotonicsOpenProjects authored Nov 13, 2023
1 parent c1862ad commit 68c2903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ONE-PIX_soft/GUI/modif_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self):
y = (self.monitor_sz.height//2) - (window_height//2)-100
if is_raspberrypi(): x,y=x+100,y+100
self.geometry('%dx%d+%d+%d' % (window_width, window_height, x, y))
icon_path='./logo_ONE-PIX.png' if is_raspberrypi() else './logo_ONE-PIX.ico'
icon_path='../imgs/logo_ONE-PIX.png' if is_raspberrypi() else '../imgs/logo_ONE-PIX.ico'
icon_path=PIL.ImageTk.PhotoImage(master=self,file=icon_path)
self.wm_iconbitmap()
self.iconphoto(False,icon_path)
Expand Down

0 comments on commit 68c2903

Please sign in to comment.