fix debug output for new weasyprint rendering

workspace
Brendan Howell 6 years ago
parent 2c4eafe5c0
commit 22f14e5386

@ -338,7 +338,7 @@ class Bureau(object):
# TODO: make paper size a config variable
pdfpath = tempfile.mkstemp(".pdf")[1]
self.log.debug("rendering with: " + htmlpath + " " + pdfpath)
self.log.debug("rendering to: " + pdfpath)
weasyprint.HTML(string=templ.render_unicode(**kwargs)).write_pdf(pdfpath)
#subprocess.call(self.html2pdf + htmlpath + " " + pdfpath +
# " A4 1920px", shell=True)

Loading…
Cancel
Save