update
This commit is contained in:
parent
20b9c9dbb1
commit
955cfa3e2a
2
tool.py
2
tool.py
|
@ -76,7 +76,7 @@ def get_list_record(client):
|
||||||
data = {
|
data = {
|
||||||
"data": os.listdir(mp4_path)
|
"data": os.listdir(mp4_path)
|
||||||
}
|
}
|
||||||
r = requests.post(post_record_list_url, json=data)
|
r = requests.post(post_record_list_url, data=data)
|
||||||
client.publish('success', payload=str(r), qos=0)
|
client.publish('success', payload=str(r), qos=0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue