Merge "Fix the "serialize" method of the client in python3"
This commit is contained in:
commit
f3950a6bba
|
@ -34,7 +34,7 @@ class RatingClient(rest_client.RestClient):
|
|||
|
||||
@staticmethod
|
||||
def deserialize(body):
|
||||
return json.loads(body.replace("\n", ""))
|
||||
return json.loads(body.decode().replace("\n", ""))
|
||||
|
||||
@staticmethod
|
||||
def serialize(body):
|
||||
|
|
Loading…
Reference in New Issue