fix convert to bytearray

This commit is contained in:
Alex Groce 2018-09-05 13:27:01 -07:00
parent 845f237d37
commit 6c613126c1

View File

@ -179,7 +179,7 @@ def main():
banews.append(ba[0:1])
banews.append(ba[1:2])
if ba[0] > 0:
banews.append(bytearray[ba[0]-1])
banews.append(bytearray([ba[0]-1]))
for banew in banews:
newTest = part1 + banew + part2 + banew + part3
r = writeAndRunCandidate(newTest)