From cbe5d30f44ee81bca655b9f1a73c6706705341fe Mon Sep 17 00:00:00 2001 From: j Date: Thu, 24 Jan 2019 12:12:36 +0530 Subject: [PATCH] dont load image --- oml/ui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oml/ui.py b/oml/ui.py index f9970bf..a15dfac 100644 --- a/oml/ui.py +++ b/oml/ui.py @@ -76,9 +76,9 @@ class GtkUI: class TkUI: def __init__(self): self.root = Tk(className="Open Media Library") - png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png') - icon = PhotoImage(file=png) - self.root.tk.call('wm', 'iconphoto', self.root._w, icon) + #png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png') + #icon = PhotoImage(file=png) + #self.root.tk.call('wm', 'iconphoto', self.root._w, icon) self.root.withdraw() # hiding tkinter window if sys.platform == 'darwin': self.root.lift()