Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Feb 7, 2024
1 parent cdebf2f commit 296bfae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ def get_context(self, request, *args, **kwargs):
"end_date": end_date,
"CEUs": CEUs,
"is_program_certificate": is_program_certificate,
"program_type": self.parent.program.program_type if is_program_certificate else ""
"program_type": self.parent.program.program_type
if is_program_certificate
else "",
}
else:
raise Http404()
Expand Down

0 comments on commit 296bfae

Please sign in to comment.