Skip to content

Commit 7676d0a

Browse files
authored
Fixed TypeError Issue When Submitting to Grader
1 parent 08ff370 commit 7676d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def grade(self):
3030
for part_id, result in self:
3131
parts[str(part_id)] = {'output': sprintf('%0.5f ', result)}
3232
result, response = self.request(parts)
33-
response = json.loads(response)
33+
response = json.loads(response.decode("utf-8"))
3434

3535
# if an error was returned, print it and stop
3636
if 'errorMessage' in response:

0 commit comments

Comments
 (0)