minor fix for retrieving non-printable chars in inference and non-multi threading mode

This commit is contained in:
Miroslav Stampar
2012-04-03 14:04:07 +00:00
parent 33bb9c5f19
commit 556b349be3
2 changed files with 2 additions and 3 deletions

View File

@@ -460,7 +460,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if showEta:
etaProgressUpdate(time.time() - charStart, len(commonValue))
elif conf.verbose in (1, 2):
dataToStdout(commonValue[index-1:])
dataToStdout(filterControlChars(commonValue[index-1:]))
finalValue = commonValue
@@ -508,7 +508,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if showEta:
etaProgressUpdate(time.time() - charStart, index)
elif conf.verbose in (1, 2):
dataToStdout(val)
dataToStdout(filterControlChars(val))
if len(partialValue) > INFERENCE_BLANK_BREAK and partialValue[-INFERENCE_BLANK_BREAK:].isspace():
finalValue = partialValue