Update main.py

This commit is contained in:
碎念_Nian
2024-02-04 14:20:49 +08:00
committed by GitHub
Unverified
parent 41ab5dd57d
commit beffe29280
+1 -1
View File
@@ -231,7 +231,7 @@ else:
first_run_text_response_text = send_message(token, "你的程序运行成功", f"{first_run_text}{workflow_info}") first_run_text_response_text = send_message(token, "你的程序运行成功", f"{first_run_text}{workflow_info}")
# 解析 JSON 数据 # 解析 JSON 数据
first_run_text_response_dict = json.loads(first_run_text) first_run_text_response_dict = json.loads(first_run_text_response_text)
# 删除 "data" 字段 # 删除 "data" 字段
if "data" in first_run_text_response_dict: if "data" in first_run_text_response_dict: