Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14005f4

Browse files
committed
Minor bug fix
1 parent eb3a3b4 commit 14005f4

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

lib/core/gui.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from lib.core.settings import WIKI_PAGE
3030
from thirdparty.six.moves import queue as _queue
3131

32+
alive = None
3233
line = ""
3334
process = None
3435
queue = None
@@ -186,7 +187,7 @@ def enqueue(stream, queue):
186187

187188
center(top)
188189

189-
while alive:
190+
while True:
190191
line = ""
191192
try:
192193
# line = queue.get_nowait()
@@ -196,6 +197,9 @@ def enqueue(stream, queue):
196197
text.see(_tkinter.END)
197198
text.update_idletasks()
198199

200+
if not alive:
201+
break
202+
199203
menubar = _tkinter.Menu(window)
200204

201205
filemenu = _tkinter.Menu(menubar, tearoff=0)

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.1.20"
21+
VERSION = "1.4.1.21"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)