From 47669028715fd1319219862e12a4ad5698409a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 22 Sep 2015 16:42:27 +0200 Subject: Fix commit ad69a1 --- scripts/boot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/boot.py b/scripts/boot.py index c12bb79..5d992f1 100644 --- a/scripts/boot.py +++ b/scripts/boot.py @@ -39,7 +39,7 @@ def boot(config, to_database = True): txt = '' for ln in out: for c in ln: - if c == b'\0': - c = ' ' - txt += ln + '\n' + if not c.encode(sys.getdefaultencoding()) == b'\0': + txt += c + txt += '\n' dtb.add_measure(txt, result, config.id, value) -- cgit v1.2.3