From 3ff8d660c51169f6e41c46c2e44730c7b5d7e321 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 9 Apr 2020 18:27:36 +0200 Subject: [PATCH] encoding fix --- screenless/bureau/ihr/ihrweb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/ihr/ihrweb.py b/screenless/bureau/ihr/ihrweb.py index a40b52c..7adbf57 100644 --- a/screenless/bureau/ihr/ihrweb.py +++ b/screenless/bureau/ihr/ihrweb.py @@ -42,7 +42,7 @@ class IhrApp(Bottle): # parse the config and make it into a form # TODO: add a little html snippet with cfg file docs templfile = os.path.join(self.tdir, "web_config.html") - template = mako.template.Template(filename=templfile) + template = mako.template.Template(filename=templfile, input_encoding='utf-8') basedir = os.path.expanduser("~/.screenless") msg = ""