reducer now work fine under Python 3
This commit is contained in:
parent
16fcad4db1
commit
216e225fcb
@ -219,7 +219,7 @@ def main():
|
||||
|
||||
if (s[1] + 1) > len(currentTest):
|
||||
print("PADDING TEST WITH", (s[1] + 1) - len(currentTest), "ZEROS")
|
||||
padding = bytearray('\x00' * ((s[1] + 1) - len(currentTest)))
|
||||
padding = bytearray('\x00' * ((s[1] + 1) - len(currentTest)), 'utf-8')
|
||||
currentTest = currentTest + padding
|
||||
|
||||
print()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user