Encoding beim Schreiben in utf-8
This commit is contained in:
parent
ca6ed90efc
commit
78070249a3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def update_static_html():
|
||||||
"prev_link": previous_link,
|
"prev_link": previous_link,
|
||||||
"next_link": next_link,
|
"next_link": next_link,
|
||||||
}
|
}
|
||||||
rendered = render("display.html", **values)
|
rendered = render("display.html", **values).encode("utf-8")
|
||||||
open(current_filename, "w").write(rendered)
|
open(current_filename, "w").write(rendered)
|
||||||
file_index += 1
|
file_index += 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue