Commit 0feb1e29 authored by 赵凯's avatar 赵凯 💬

fix

parent c047431e
......@@ -78,9 +78,10 @@ def tasksPatch(taskid):
'cookie': cookie
}
response = requests.request("PATCH", url, headers=headers, data=payload)
print("任务开始执行...")
if response['code'] == -1:
print(response['msg'])
# rst = json.loads(response.text)
# print("任务开始执行...")
# if rst['code'] == -1:
# print("任务执行异常:" + rst['msg'])
# 集群部署任务
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment