From 0d23d176ce39fe7536122d80844eef990d7c002b Mon Sep 17 00:00:00 2001 From: Arinerron Date: Sun, 22 Apr 2018 21:42:34 -0700 Subject: [PATCH] Move tkinter requirement to openGUI function --- onionr/default-plugins/gui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/onionr/default-plugins/gui/main.py b/onionr/default-plugins/gui/main.py index 6cf78289..c7dc0453 100644 --- a/onionr/default-plugins/gui/main.py +++ b/onionr/default-plugins/gui/main.py @@ -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()