better catch tkinter import
This commit is contained in:
parent
0050b60f1a
commit
c1d4040807
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue