Skip to content

Commit

Permalink
Fixed TypeError Issue When Submitting to Grader
Browse files Browse the repository at this point in the history
  • Loading branch information
de3z1e committed Oct 6, 2018
1 parent 08ff370 commit 7676d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submission.py
Expand Up @@ -30,7 +30,7 @@ def grade(self):
for part_id, result in self:
parts[str(part_id)] = {'output': sprintf('%0.5f ', result)}
result, response = self.request(parts)
response = json.loads(response)
response = json.loads(response.decode("utf-8"))

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

0 comments on commit 7676d0a

Please sign in to comment.