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