From 2c4eafe5c032bd9782708d01abe6169e880bf031 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 13 Dec 2018 11:57:29 +0100 Subject: [PATCH] fix debug output for new weasyprint rendering --- screenless/bureau/bureau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/bureau.py b/screenless/bureau/bureau.py index d5437f8..55a176f 100644 --- a/screenless/bureau/bureau.py +++ b/screenless/bureau/bureau.py @@ -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)