|
|
@ -400,7 +400,7 @@ class Bureau(object):
|
|
|
|
string=templ.render_unicode(**kwargs))
|
|
|
|
string=templ.render_unicode(**kwargs))
|
|
|
|
|
|
|
|
|
|
|
|
if self.log.getEffectiveLevel == logging.DEBUG:
|
|
|
|
if self.log.getEffectiveLevel == logging.DEBUG:
|
|
|
|
with html_out as open("/tmp/debug.html", "w"):
|
|
|
|
with open("/tmp/debug.html", "w") as html_out:
|
|
|
|
html_out.write(html_rendered)
|
|
|
|
html_out.write(html_rendered)
|
|
|
|
self.log.debug("debug html output at /tmp/debug.html")
|
|
|
|
self.log.debug("debug html output at /tmp/debug.html")
|
|
|
|
|
|
|
|
|
|
|
|