Skip to content

Commit

Permalink
Fix code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Oct 28, 2023
1 parent e65277e commit d246879
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ietf/meeting/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ def materials_document(request, document, num=None, ext=None):
content_type = content_type.replace("plain", "markdown", 1)
break
elif atype[0] == "text/html":
bytes = render(
request,
bytes = render_to_string(
"minimal.html",
{
"content": markdown.markdown(bytes.decode(encoding=chset)),
Expand Down

0 comments on commit d246879

Please sign in to comment.