Fix py3 redshift encoding.

This commit is contained in:
Steve Pulec 2017-03-15 22:12:16 -04:00
commit e9e49c5916
2 changed files with 2 additions and 1 deletions

View file

@ -18,7 +18,7 @@ class RedshiftResponse(BaseResponse):
return json.dumps(response)
else:
xml = dicttoxml.dicttoxml(response, attr_type=False, root=False)
return xml
return xml.decode("utf-8")
def create_cluster(self):
cluster_kwargs = {