fix run.py ssl error

This commit is contained in:
weilinfox 2021-02-15 18:25:31 +08:00
parent 4a2882ed54
commit b2b45e9ff6

View file

@ -79,6 +79,6 @@ def glot(name, content, url):
"content": content, "content": content,
}] }]
} }
resp = requests.post(url=url, headers=headers, json=data).json() resp = requests.post(url=url, headers=headers, json=data, verify=False).json()
r = f"stdout:\n{resp['stdout']}\nstderr:\n{resp['stderr']}\nerror:\n{resp['error']}" r = f"stdout:\n{resp['stdout']}\nstderr:\n{resp['stderr']}\nerror:\n{resp['error']}"
return r return r