Day17 code
This commit is contained in:
@@ -7,7 +7,7 @@ import logging
|
||||
|
||||
def on_connect(client, userdata, flags, rc):
|
||||
if rc == 0:
|
||||
path = 'HV19/#';
|
||||
path = 'HV19/gifts/#';
|
||||
client.subscribe(path, qos=0)
|
||||
|
||||
def on_message(client, userdata, msg):
|
||||
|
||||
Reference in New Issue
Block a user