Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeiP committed Nov 9, 2024
1 parent 5ffba24 commit 3cf2261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expenses/apps/expenseapp/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def render_to_pdf(template_src, context_dict, additional=[]):
tmp.close()
os.unlink(tmp.name)
else:
pdf.append(open(filename, 'rb'), import_bookmarks=False)
pdf.append(open(filename, 'rb'), import_outline=False)

output = io.BytesIO()
pdf.write(output)
Expand Down

0 comments on commit 3cf2261

Please sign in to comment.