Encoding beim Schreiben in utf-8

This commit is contained in:
lars 2015-04-27 22:12:30 +00:00
parent ca6ed90efc
commit 78070249a3

View file

@ -82,7 +82,7 @@ def update_static_html():
"prev_link": previous_link,
"next_link": next_link,
}
rendered = render("display.html", **values)
rendered = render("display.html", **values).encode("utf-8")
open(current_filename, "w").write(rendered)
file_index += 1