Fixed json load on python3
Change-Id: I81b1858fbb7d8cfc7ed7111755ecdf947e0c445e
This commit is contained in:
parent
120ba04c1f
commit
b277ca969f
@ -76,4 +76,4 @@ class HTTPClient(object):
|
||||
kwargs['body'] = json.dumps(kwargs['body'])
|
||||
|
||||
resp, body = self._http_request(url, method, **kwargs)
|
||||
return resp, json.loads(body)
|
||||
return resp, json.loads(body.decode())
|
||||
|
Loading…
x
Reference in New Issue
Block a user