Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42f2ff2 + b3b64d4 commit 34b0c87Copy full SHA for 34b0c87
clearblade/Messaging.py
@@ -143,4 +143,5 @@ def publish(self, channel, message, qos=0, retain=False):
143
except:
144
logMsg = "unstringifiable object"
145
cbLogs.info("Publishing", logMsg, "to", channel, ".")
146
- self.__mqttc.publish(channel, message, qos, retain)
+ resp = self.__mqttc.publish(channel, message, qos, retain)
147
+ return resp
0 commit comments