summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/rpc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/rpc.py b/ipalib/rpc.py
index 921f5cb4b..fb739f8f4 100644
--- a/ipalib/rpc.py
+++ b/ipalib/rpc.py
@@ -1101,7 +1101,8 @@ class JSONServerProxy(object):
)
try:
- response = json_decode_binary(json.loads(response.decode('ascii')))
+ response = json_decode_binary(
+ json.loads(response.decode('utf-8')))
except ValueError as e:
raise JSONError(error=str(e))