]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Fix bug described in commit 5ef685
authorKarel Kočí <cynerd@email.cz>
Tue, 22 Sep 2015 10:19:14 +0000 (12:19 +0200)
committerKarel Kočí <cynerd@email.cz>
Tue, 22 Sep 2015 10:19:14 +0000 (12:19 +0200)
scripts/boot.py

index 88da81786ec1436e302a7fb7575795faf2a26822..c12bb7978c21e090f68eb774244462bfb73971a0 100644 (file)
@@ -39,7 +39,7 @@ def boot(config, to_database = True):
                        txt = ''
                        for ln in out:
                                for c in ln:
-                                       if c == '\x00':
+                                       if c == b'\0':
                                                c = ' '
                                txt += ln + '\n'
                        dtb.add_measure(txt, result, config.id, value)