tools/dfu.py: Make tool work with python3 when parsing DFU files.

This commit is contained in:
Dave Hylands 2021-10-25 10:41:32 -07:00 committed by Damien George
parent 0adea40716
commit cb99ca9862
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def consume(fmt, data, names):
def cstring(string):
return string.split("\0", 1)[0]
return string.split(b"\0", 1)[0]
def compute_crc(data):