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 fbaf53c024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,6 +79,6 @@ def glot(name, content, url):
"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']}"
return r
return r