Merge "Fix syntax issue in Firehose websocket example"
This commit is contained in:
commit
45b841f747
@ -143,7 +143,7 @@ on the firehose and print it to STDOUT
|
||||
|
||||
def on_connect(client, userdata, flags, rc):
|
||||
print("Connected with result code " + str(rc))
|
||||
client.subscribe('#')
|
||||
client.subscribe('#')
|
||||
|
||||
def on_message(client, userdata, msg):
|
||||
print(msg.topic+" "+str(msg.payload))
|
||||
|
Loading…
Reference in New Issue
Block a user