Day17 code

This commit is contained in:
2019-12-29 15:24:39 +01:00
parent 7926b309e2
commit 5267a8d008
5 changed files with 40 additions and 1 deletions

View File

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