From da0f5243ab0e40b85f4348e5f1454a14b7b5c3f8 Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 12 Jan 2024 09:13:16 +0100 Subject: [PATCH] Possible fix for #912 https://github.com/Louisvdw/dbus-serialbattery/issues/912 --- etc/dbus-serialbattery/bms/lltjbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(