Skip to content

Commit

Permalink
Fixed letter_grade unpack issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sabid-ansari authored Nov 25, 2024
1 parent af072c2 commit fd14881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/model_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ def fetch_scores(self, locations):
self._locations_to_scores.update({
location.map_into_course(self.course_key): self.Score(correct, total, created, letter_grade)
for location, correct, total, created, letter_grade
in scores_qset.values_list('module_state_key', 'grade', 'max_grade', 'created')
in scores_qset.values_list('module_state_key', 'grade', 'max_grade', 'created', 'letter_grade')
})
self._has_fetched = True

Expand Down

0 comments on commit fd14881

Please sign in to comment.