Skip to content

Commit

Permalink
fix: quality
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhynes committed Oct 11, 2024
1 parent 1eeb5a3 commit 3305d81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openedx/core/djangoapps/programs/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,9 @@ def award_program_certificates(self, username): # lint-amnesty, pylint: disable
completed_programs.update(get_completed_programs(site, student))

if not completed_programs:
LOGGER.warning(f"Task award_program_certificates was called for user {student.id} with no completed programs")
LOGGER.warning(
f"Task award_program_certificates was called for user {student.id} with no completed programs"
)
return

# determine which program certificates have been awarded to the user
Expand Down

0 comments on commit 3305d81

Please sign in to comment.