Skip to content

Commit

Permalink
fix for release 5.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Mar 5, 2019
1 parent 0d9b416 commit 752cc21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asammdf/blocks/v2_v3_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2775,9 +2775,9 @@ def __init__(self, **kwargs):
if mapped:
(self.id, self.block_len) = COMMON_uf(stream, address)
if self.id != b"TX":
message = f'Expected "TX" block @{hex(address)} but found "{self.id}"
message = f'Expected "TX" block @{hex(address)} but found "{self.id}"'
logger.exception(message)
raise MdfException(message)'
raise MdfException(message)

self.text = stream[address + 4: address + self.block_len]
else:
Expand Down

0 comments on commit 752cc21

Please sign in to comment.