Minor bug fix

This commit is contained in:
Miroslav Stampar
2020-01-09 13:19:54 +01:00
parent eb3a3b4825
commit 14005f476d
2 changed files with 6 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ from lib.core.settings import VERSION_STRING
from lib.core.settings import WIKI_PAGE
from thirdparty.six.moves import queue as _queue
alive = None
line = ""
process = None
queue = None
@@ -186,7 +187,7 @@ def runGui(parser):
center(top)
while alive:
while True:
line = ""
try:
# line = queue.get_nowait()
@@ -196,6 +197,9 @@ def runGui(parser):
text.see(_tkinter.END)
text.update_idletasks()
if not alive:
break
menubar = _tkinter.Menu(window)
filemenu = _tkinter.Menu(menubar, tearoff=0)