Merge "Fix syntax issue in Firehose websocket example"

This commit is contained in:
Jenkins 2016-10-11 22:22:56 +00:00 committed by Gerrit Code Review
commit 45b841f747

View File

@ -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))