Skip to content

Commit

Permalink
Possible fix for Louisvdw#912
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Jan 12, 2024
1 parent 6222121 commit da0f524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/dbus-serialbattery/bms/lltjbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def validate_packet(data):
">>> ERROR: Invalid response packet. Expected begin packet character 0xDD"
)
if status != 0x0:
logger.warn(">>> WARN: BMS rejected request. Status " + status)
logger.warn(">>> WARN: BMS rejected request. Status " + str(status))
return False
if len(data) != payload_length + 7:
logger.error(
Expand Down

0 comments on commit da0f524

Please sign in to comment.