Skip to content

Commit dc01e91

Browse files
authored
Merge pull request #150 from dataiku/fix/dss9-setlicense-encoding
Fix set_license with utf-8 chars
2 parents 1e8deca + a64bf47 commit dc01e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dssclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def set_license(self, license):
999999
:return: None
10001000
"""
10011001
self._perform_empty(
1002-
"POST", "/admin/licensing/license", raw_body=license)
1002+
"POST", "/admin/licensing/license", body=json.loads(license))
10031003

10041004

10051005
########################################################

0 commit comments

Comments
 (0)