Skip to content

Commit fee2b00

Browse files
committed
Merge pull request #16 from joequant/python3
fix for python3
2 parents 9d63d79 + eaf00e2 commit fee2b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plivo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _request(self, method, path, data={}):
7575
content = r.content
7676
if content:
7777
try:
78-
response = json.loads(content)
78+
response = json.loads(content.decode("utf-8"))
7979
except ValueError:
8080
response = content
8181
else:

0 commit comments

Comments
 (0)