From 22f14e5386a896b6ccc31d717763ad2853045dde Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 13 Dec 2018 11:59:48 +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 55a176f..d655d66 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: " + 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)