mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-02-03 05:54:25 +01:00
Merge pull request #16 from d9394/develop
explicitly specify encoding since the default is platform-dependent
This commit is contained in:
commit
6adbc6c291
|
|
@ -101,7 +101,7 @@ class AprsSymbolsController(AssetsController):
|
|||
|
||||
class TemplateController(Controller):
|
||||
def render_template(self, file, **vars):
|
||||
f = open("htdocs/" + file, "r")
|
||||
f = open("htdocs/" + file, "r", encoding="utf-8")
|
||||
template = Template(f.read())
|
||||
f.close()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue