Merge pull request #29 from weilinfox/master

fix run.py ssl error
This commit is contained in:
SiHuan 2021-02-15 18:28:42 +08:00 committed by GitHub
commit 675637eda3

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