bin2a1monitor.py script fix

This commit is contained in:
flowenol 2023-03-31 23:17:51 +02:00
parent 012d30fd11
commit 53abc88b83
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
import sys
import binascii
"""
This utility transforms binary data to A1 monitor format, starting offset
@ -20,7 +19,7 @@ if __name__ == "__main__":
byte = file.read(1)
while byte:
row.append(binascii.hexlify(byte).upper())
row.append(byte.hex().upper())
if len(row) == 8:
print_row(row_offset, row)
row = list()