smdjeff opened this issue 4 years ago · 1 comments
Traceback (most recent call last): File "srec2bin.py", line 83, in fill_byte = (args.fill_byte % 0x100).to_bytes(1, 'big') AttributeError: 'int' object has no attribute 'to_bytes'
You're running the code using Python 2.x, you need to use Python 3.