Skip to content

Commit

Permalink
fix: fixed pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eemaanamir committed Sep 19, 2024
1 parent 856a759 commit 673b355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openassessment/workflow/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def update_from_assessments(
score = self.get_score(assessment_requirements, course_settings, step_for_name)
submission_dict = sub_api.get_submission_and_student(self.submission_uuid)
if submission_dict['student_item']['student_id']:
send_grade_assigned_notification(self.item_id, submission_dict['student_item']['student_id'], score)
send_grade_assigned_notification(self.item_id,
submission_dict['student_item']['student_id'], score)
return

if self.status == self.STATUS.done:
Expand Down

0 comments on commit 673b355

Please sign in to comment.