Minor style updates

This commit is contained in:
Miroslav Stampar
2025-05-08 22:30:54 +02:00
parent d3d54a965b
commit ad1266a080
14 changed files with 25 additions and 38 deletions

View File

@@ -511,7 +511,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
currentCharIndex = threadData.shared.index[0]
if kb.threadContinue:
val = getChar(currentCharIndex, asciiTbl, not(charsetType is None and conf.charset))
val = getChar(currentCharIndex, asciiTbl, not (charsetType is None and conf.charset))
if val is None:
val = INFERENCE_UNKNOWN_CHAR
else:
@@ -657,7 +657,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if not val:
val = getChar(index, otherCharset, otherCharset == asciiTbl)
else:
val = getChar(index, asciiTbl, not(charsetType is None and conf.charset))
val = getChar(index, asciiTbl, not (charsetType is None and conf.charset))
if val is None:
finalValue = partialValue