Move tkinter requirement to openGUI function
This commit is contained in:
parent
e820cc65ac
commit
0d23d176ce
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
# Imports some useful libraries
|
# Imports some useful libraries
|
||||||
import logger, config
|
import logger, config
|
||||||
from tkinter import *
|
|
||||||
import os, sqlite3, core
|
import os, sqlite3, core
|
||||||
|
|
||||||
def sendMessage():
|
def sendMessage():
|
||||||
@ -56,6 +55,8 @@ def update():
|
|||||||
|
|
||||||
|
|
||||||
def openGUI():
|
def openGUI():
|
||||||
|
from tkinter import *
|
||||||
|
|
||||||
global root, runningCheckDelay, runningCheckDelayCount, scrollbar, listedBlocks, nodeInfo, keyInfo, idText, idEntry, pubKeyEntry, listbox, daemonStatus, sendEntry
|
global root, runningCheckDelay, runningCheckDelayCount, scrollbar, listedBlocks, nodeInfo, keyInfo, idText, idEntry, pubKeyEntry, listbox, daemonStatus, sendEntry
|
||||||
|
|
||||||
root = Tk()
|
root = Tk()
|
||||||
|
Loading…
Reference in New Issue
Block a user