Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
silverailscolo committed Nov 3, 2024
1 parent 5f943c0 commit 440915f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ramses_tx/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,6 @@ def _parser(seqx: str) -> dict:
def parser_22f3(payload: str, msg: Message) -> dict[str, Any]:
# NOTE: for boost timer for high
try:
# assert payload[2:4] in ("00", "02", "12", "x52"), f"byte 1: {flag8(payload[2:4])}"
assert msg.len <= 7 or payload[14:] == "0000", f"byte 7: {payload[14:]}"
except AssertionError as err:
_LOGGER.warning(f"{msg!r} < {_INFORM_DEV_MSG} ({err})")
Expand Down

0 comments on commit 440915f

Please sign in to comment.