Encoding beim Schreiben in utf-8

This commit is contained in:
lars 2015-04-27 22:12:30 +00:00
parent 9c6e059017
commit b4726154c2

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