aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-09-21 14:00:05 +0200
committerKarel Kočí <cynerd@email.cz>2015-09-21 14:04:47 +0200
commit5ef685ddb6aafe82ab7baa589c055721d3e51cac (patch)
tree12bef2ee1ccb0ab5255c462a1a4d42bf9f171eba /scripts
parent49a0027e2a7cda2f3ff1c4f056001f45f22becc4 (diff)
downloadlinux-conf-perf-5ef685ddb6aafe82ab7baa589c055721d3e51cac.tar.gz
linux-conf-perf-5ef685ddb6aafe82ab7baa589c055721d3e51cac.tar.bz2
linux-conf-perf-5ef685ddb6aafe82ab7baa589c055721d3e51cac.zip
Potential fix of wrong input data format exception
Diffstat (limited to 'scripts')
-rw-r--r--scripts/boot.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/boot.py b/scripts/boot.py
index 31328a1..88da817 100644
--- a/scripts/boot.py
+++ b/scripts/boot.py
@@ -38,5 +38,8 @@ def boot(config, to_database = True):
dtb = database.database()
txt = ''
for ln in out:
+ for c in ln:
+ if c == '\x00':
+ c = ' '
txt += ln + '\n'
dtb.add_measure(txt, result, config.id, value)