Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fladd authored Jun 11, 2024
1 parent d52e222 commit 5dd31c7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scansessiontool/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import platform
from tkinter import *
from tkinter.ttk import *
Expand All @@ -8,13 +7,6 @@

def run():
root = Tk()
if platform.system() == "Windows":
root.iconbitmap(os.path.abspath(os.path.join(
os.path.split(__file__)[0], "sst_icon.ico")))
else:
root.tk.call('wm', 'iconphoto', root._w,
PhotoImage(file=os.path.abspath(os.path.join(
os.path.split(__file__)[0], "sst_icon.png"))))
app = ScanSessionTool(root)
app.mainloop()

Expand Down

0 comments on commit 5dd31c7

Please sign in to comment.