3.10 support (#2493)

* test again

* typo
This commit is contained in:
J K Terry
2021-11-20 11:41:27 -05:00
committed by GitHub
parent 3f5b46dfc1
commit 42a4a09f5b
5 changed files with 6 additions and 28 deletions

View File

@@ -102,10 +102,7 @@ class APIError(Error):
try:
http_body = http_body.decode("utf-8")
except:
http_body = (
"<Could not decode body as utf-8. "
"Please report to gym@openai.com>"
)
http_body = "<Could not decode body as utf-8.>"
self._message = message
self.http_body = http_body