wkhtmltopdf pdfkit blocked access to file code example
Example: wkhtmltopdf pdfkit blocked access to file
options = {
"enable-local-file-access": None
}
pdfkit.from_file(html_file_name, pdf_file_name, options=options)
options = {
"enable-local-file-access": None
}
pdfkit.from_file(html_file_name, pdf_file_name, options=options)