in a mood for more changes

This commit is contained in:
Miroslav Stampar
2010-05-21 12:44:09 +00:00
parent 219628aa01
commit 64f2afe585
3 changed files with 25 additions and 19 deletions

View File

@@ -343,7 +343,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
charStart = time.time()
if conf.useCommonPrediction:
predictedCharset, otherCharset = getGoodSamaritanCharsets(finalValue, asciiTbl)
predictedCharset, otherCharset = getGoodSamaritanCharsets(kb.partRun, finalValue, asciiTbl)
val = getChar(index, predictedCharset) if predictedCharset else None
if not val:
val = getChar(index, otherCharset)