better catch tkinter import
parent
0050b60f1a
commit
c1d4040807
|
@ -37,6 +37,7 @@ class OnionrBoards:
|
||||||
self.api = apiInst
|
self.api = apiInst
|
||||||
self.myCore = apiInst.get_core()
|
self.myCore = apiInst.get_core()
|
||||||
|
|
||||||
|
if TK_ENABLED:
|
||||||
self.gui = tkinter.Tk()
|
self.gui = tkinter.Tk()
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue