|
|
@ -378,7 +378,8 @@ class Bureau(object):
|
|
|
|
# run template with kwargs
|
|
|
|
# run template with kwargs
|
|
|
|
templfile = os.path.join(self.mdir, template)
|
|
|
|
templfile = os.path.join(self.mdir, template)
|
|
|
|
self.log.debug("printing with template: %s", templfile)
|
|
|
|
self.log.debug("printing with template: %s", templfile)
|
|
|
|
templ = Template(filename=templfile, strict_undefined=True)
|
|
|
|
templ = Template(filename=templfile, input_encoding="utf-8",
|
|
|
|
|
|
|
|
strict_undefined=True)
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: make paper size a config variable
|
|
|
|
# TODO: make paper size a config variable
|
|
|
|
pdfpath = tempfile.mkstemp(".pdf")[1]
|
|
|
|
pdfpath = tempfile.mkstemp(".pdf")[1]
|
|
|
|