fix debug output for new weasyprint rendering

workspace
Brendan Howell 6 years ago
parent 844677d1a9
commit 2c4eafe5c0

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

Loading…
Cancel
Save