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

pull/7963/head
Dave Hylands 2021-10-25 10:41:32 -07:00 zatwierdzone przez Damien George
rodzic 0adea40716
commit cb99ca9862
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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):