Skip to content

Commit

Permalink
Fix unknown binary header message. Fixes #11.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbirth committed Mar 19, 2021
1 parent 9eaad4a commit e51a291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grmn/tlv.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def __str__(self):
txt += "\n - hw_id: 0x{:04x} / {:d} ({})".format(hwid, hwid, devices.DEVICES.get(hwid, RED + "Unknown device" + RESET))
txt += "\n - Version: 0x{:04x} / {:d}".format(version, version)
else:
txt += "\n - Unknown header format (0x{:04x} / 0x{:04x})".format(hdr1, hdr2)
txt += "\n - Unknown header format (0x{})".format(hexlify(skuprobe).decode("utf-8"))
#if not self.is_parsed:
# self.parse()
return txt

0 comments on commit e51a291

Please sign in to comment.