diff --git a/etc/dbus-serialbattery/bms/lltjbd.py b/etc/dbus-serialbattery/bms/lltjbd.py index ffbd16c0..7ae58f48 100644 --- a/etc/dbus-serialbattery/bms/lltjbd.py +++ b/etc/dbus-serialbattery/bms/lltjbd.py @@ -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(