diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/boot.py | 6 |
1 files 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) |