diff --git a/scripts/bin2hex.py b/scripts/bin2hex.py index af278bc..cd732cb 100755 --- a/scripts/bin2hex.py +++ b/scripts/bin2hex.py @@ -8,9 +8,9 @@ with open(sys.argv[1], "rb") as f: while True: word = f.read(8) if len(word) == 8: - print("%016x" % struct.unpack('Q', word)); + print("%016x" % struct.unpack('