From dbbcfe010f10d2df142f2671996fc5ad3ad0c13c Mon Sep 17 00:00:00 2001 From: mazocode Date: Mon, 23 Oct 2023 02:38:06 +0200 Subject: [PATCH] v2023.10.5.1 - Fix whitespace --- modbus2mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modbus2mqtt.py b/modbus2mqtt.py index 34da60f..b609e33 100755 --- a/modbus2mqtt.py +++ b/modbus2mqtt.py @@ -104,7 +104,7 @@ def rpc_subscribe(self, src): def rpc_unsubscribe(self, src): t = src.topic_prefix if self.topic_prefix is not None: - t = self.topic_prefix + '/' + t + t = self.topic_prefix + '/' + t if self.subscribers.get(t.lower() + '/rpc', None) is not None: log.info(f"Unsubscribing from rpc topic {t}/rpc.") self.client.unsubscribe(t + '/rpc')