Move tkinter requirement to openGUI function

This commit is contained in:
Arinerron 2018-04-22 21:42:34 -07:00
parent e820cc65ac
commit 0d23d176ce
No known key found for this signature in database
GPG Key ID: 99383627861C62F0

View File

@ -17,7 +17,6 @@
# Imports some useful libraries
import logger, config
from tkinter import *
import os, sqlite3, core
def sendMessage():
@ -56,6 +55,8 @@ def update():
def openGUI():
from tkinter import *
global root, runningCheckDelay, runningCheckDelayCount, scrollbar, listedBlocks, nodeInfo, keyInfo, idText, idEntry, pubKeyEntry, listbox, daemonStatus, sendEntry
root = Tk()