reducer now work fine under Python 3

This commit is contained in:
Alex Groce 2019-01-13 13:43:48 -07:00
parent 16fcad4db1
commit 216e225fcb

View File

@ -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()