From 955cfa3e2a927c6ac0c5f374542c17d5576454f7 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Thu, 14 Dec 2023 11:51:01 +0800 Subject: [PATCH] update --- tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool.py b/tool.py index 5642b65..0cdf696 100755 --- a/tool.py +++ b/tool.py @@ -76,7 +76,7 @@ def get_list_record(client): data = { "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)