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

Skip to content

Commit 7d3a200

Browse files
committed
fix for Bug #183
1 parent 2840f20 commit 7d3a200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/techniques/blind/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def downloadThread():
249249
if startCharIndex > 0:
250250
output = '..' + output[2:]
251251

252-
if endCharIndex - startCharIndex == conf.progressWidth:
252+
if (endCharIndex - startCharIndex == conf.progressWidth) and (endCharIndex < length-1):
253253
output = output[:-2] + '..'
254254

255255
output += '_' * (min(length, conf.progressWidth) - len(output))

0 commit comments

Comments
 (0)