X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-conf-perf.git/blobdiff_plain/4951437ddfa91726acf9610953a072cc2e56c8e1..47669028715fd1319219862e12a4ad5698409a6b:/scripts/boot.py 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)