diff --git a/screenless/bureau/bureau.py b/screenless/bureau/bureau.py index b8a8c13..51c5695 100644 --- a/screenless/bureau/bureau.py +++ b/screenless/bureau/bureau.py @@ -225,7 +225,7 @@ class Bureau(object): # run template with kwargs templfile = os.path.join(self.mdir, template) self.log.debug("printing with template: %s", templfile) - templ = Template(filename=templfile) + templ = Template(filename=templfile, strict_undefined=True) htmlfile.write(templ.render_unicode(**kwargs)) htmlfile.close() #.encode('utf-8',