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

Skip to content

Commit b37dca1

Browse files
committed
minor adjustment
1 parent 9edd468 commit b37dca1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/techniques/blind/inference.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,13 @@ def downloadThread():
354354
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), replaceNewlineTabs(output, stdout=True)))
355355
iolock.release()
356356

357-
#TODO: more
358357
if not conf.threadContinue:
359358
if int(threading.currentThread().getName()) == numThreads - 1:
360359
partialValue = unicode()
361360
for v in value:
362-
if isinstance(v, basestring) and v is not None:
361+
if v is None:
362+
break
363+
elif isinstance(v, basestring):
363364
partialValue += v
364365

365366
if len(partialValue) > 0:

0 commit comments

Comments
 (0)