Skip to content

Commit

Permalink
fix(multi-pdf): change response type to pdf
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d03f51)
  • Loading branch information
rtdany10 authored and mergify[bot] committed May 5, 2023
1 parent a5a6965 commit 997559c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/utils/print_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def download_multi_pdf(
frappe.local.response.filename = f"{name}.pdf"

frappe.local.response.filecontent = read_multi_pdf(output)
frappe.local.response.type = "download"
frappe.local.response.type = "pdf"


def read_multi_pdf(output):
Expand Down

0 comments on commit 997559c

Please sign in to comment.