Fix syntax issue in Firehose websocket example

Change-Id: Ie7435c404f89bdc7646b62a4b1eb1e80b201f666
This commit is contained in:
Christian Berendt 2016-10-10 14:53:40 +02:00
parent 7ff2ee97ac
commit 3a9a68672e

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