better catch tkinter import

This commit is contained in:
Kevin Froman 2018-09-03 22:38:08 -05:00
parent 0050b60f1a
commit c1d4040807

View File

@ -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