update
This commit is contained in:
parent
d82c9369c2
commit
b177247f61
|
@ -218,9 +218,10 @@ def test():
|
|||
'device_name': device_name
|
||||
}
|
||||
t2 = LOT_DATA(**data)
|
||||
client.publish('demo', payload=json.dumps(data, ensure_ascii=False), qos=0)
|
||||
# client.publish('demo', payload=json.dumps(data, ensure_ascii=False), qos=0)
|
||||
add(t2)
|
||||
except:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pass
|
||||
finally:
|
||||
time.sleep(10)
|
||||
|
|
Loading…
Reference in New Issue