better catch tkinter import

master
Kevin Froman 2018-09-03 22:38:08 -05:00
parent 0050b60f1a
commit c1d4040807
1 changed files with 2 additions and 1 deletions

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