Skip to content

Commit

Permalink
Fix for RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Mar 1, 2024
1 parent 558878f commit 34ec611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()

VERSION = "1.8.3"
VERSION = "1.8.4"

setup(
version=VERSION,
Expand Down
2 changes: 1 addition & 1 deletion tb_gateway_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def gw_send_rpc_reply(self, device, req_id, resp, quality_of_service=None):
if quality_of_service not in (0, 1):
log.error("Quality of service (qos) value must be 0 or 1")
return None
info = self._publish_data({device: {"id": req_id, "data": resp}}, GATEWAY_RPC_RESPONSE_TOPIC,
info = self._publish_data({"device": device, "id": req_id, "data": resp}, GATEWAY_RPC_TOPIC,
quality_of_service)
return info

Expand Down

0 comments on commit 34ec611

Please sign in to comment.