Skip to content

Commit

Permalink
remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinie-nc committed Mar 3, 2025
1 parent b9875ba commit 8c3ae71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions credit_integration/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ def _add_log(identification, user, text):

def _generate_pdf(context, template_name) -> BytesIO:
html_source = render_to_string(template_name, context=context)
with open("sanctions.html", "w") as f:
f.write(html_source)
output = BytesIO()
pisa_status = pisa.CreatePDF(
html_source,
Expand Down

0 comments on commit 8c3ae71

Please sign in to comment.