Fix syntax issue in Firehose websocket example
Change-Id: Ie7435c404f89bdc7646b62a4b1eb1e80b201f666
This commit is contained in:
parent
7ff2ee97ac
commit
3a9a68672e
@ -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