|
|
@ -473,6 +473,8 @@ class Bureau(object):
|
|
|
|
html_rendered = weasyprint.HTML(url_fetcher=slowfetch,
|
|
|
|
html_rendered = weasyprint.HTML(url_fetcher=slowfetch,
|
|
|
|
string=templ.render_unicode(**kwargs))
|
|
|
|
string=templ.render_unicode(**kwargs))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print("log level:", str(self.log.getEffectiveLevel()))
|
|
|
|
|
|
|
|
print("config:", self.config)
|
|
|
|
if self.log.getEffectiveLevel() == logging.DEBUG:
|
|
|
|
if self.log.getEffectiveLevel() == logging.DEBUG:
|
|
|
|
with open("/tmp/debug.html", "w") as html_out:
|
|
|
|
with open("/tmp/debug.html", "w") as html_out:
|
|
|
|
html_out.write(templ.render_unicode(**kwargs))
|
|
|
|
html_out.write(templ.render_unicode(**kwargs))
|
|
|
|