Fix py3 redshift encoding.
This commit is contained in:
parent
6666351757
commit
e9e49c5916
2 changed files with 2 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue