Skip to content

Commit

Permalink
v2023.10.5.1 - Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mazocode committed Oct 23, 2023
1 parent 3d345b9 commit dbbcfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modbus2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit dbbcfe0

Please sign in to comment.