Skip to content

Commit

Permalink
Reformat gradeexporter
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Feb 23, 2024
1 parent d6b710d commit f46f26e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2xgrader/exporters/gradeexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def get_grades(self) -> pd.DataFrame:
for key, value in grades.items():
data[key].update(value)
elif self.notebooks:
data[(assignment_id, notebook_id)][
submission["student"]
] = submission["score"]
data[(assignment_id, notebook_id)][submission["student"]] = (
submission["score"]
)
else:
data[assignment_id][submission["student"]] += submission[
"score"
Expand Down

0 comments on commit f46f26e

Please sign in to comment.