From 8cfd7b94aeef3a8d4695ca4047f56c747d11e2b6 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Mon, 6 Apr 2020 21:26:50 +0200 Subject: [PATCH] add config editor elements to ihr web --- 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 087ccf0..392d10d 100644 --- a/screenless/bureau/ihr/ihrweb.py +++ b/screenless/bureau/ihr/ihrweb.py @@ -60,7 +60,7 @@ class IhrApp(Bottle): pass #parse and show the config as a form with open(cfgfile) as cfg: - cfgdata += cfg.read() + cfgdata = cfg.read() return template.render_unicode(bureau=bureau, cfgfile=cfgfile, mode=mode, cfgdata=cfgdata) def register_bureau(self, bureau):