Skip to content

Commit

Permalink
Fix print for unknown messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Diamond committed Sep 14, 2023
1 parent 303dfe1 commit 0090413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/bin/p1_print
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def print_message(header, contents, offset_bytes, format='pretty'):
else:
parts = str(contents).split('\n')
else:
parts = [f'{header.get_type().to_string(include_value=True)} (unsupported)']
parts = [f'{header.get_type_string()} (unsupported)']

if format in ('pretty', 'oneline-detailed'):
details = 'sequence=%d, size=%d B, offset=%d B (0x%x)' %\
Expand Down

0 comments on commit 0090413

Please sign in to comment.