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,6 +37,7 @@ class OnionrBoards:
self.api = apiInst
self.myCore = apiInst.get_core()
if TK_ENABLED:
self.gui = tkinter.Tk()
return