Skip to content

Commit d548a0c

Browse files
committed
Fix a unicode issue in newly imported function
1 parent 0657838 commit d548a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sandboxapi/falcon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def full_report (self, item_id, report_format="json"):
177177
# if response is JSON, return it as an object
178178
if report_format == "json":
179179
try:
180-
return json.loads(response.content)
180+
return json.loads(response.content.decode('utf-8'))
181181
except ValueError:
182182
pass
183183

0 commit comments

Comments
 (0)