suppress tkinter

master
Arinerron 2018-04-22 21:50:07 -07:00
parent 3f6f981847
commit 4afe7e45c3
No known key found for this signature in database
GPG Key ID: 99383627861C62F0
1 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,10 @@
# Imports some useful libraries # Imports some useful libraries
import logger, config import logger, config
try:
from tkinter import *
except:
pass
import os, sqlite3, core import os, sqlite3, core
def sendMessage(): def sendMessage():
@ -55,8 +59,6 @@ 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()