summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-05-10 08:33:51 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-05-10 08:34:10 -0700
commit9c4e1da5e7a27dc2f1ce06122148c908fe346452 (patch)
tree4f0d19265aff28b145e86871bc61f59947ce98b8 /tools
parent99866467da395f141788654952f2964d3106c9f0 (diff)
DataFromSuperUser is expected to be a boolean in the server
Diffstat (limited to 'tools')
-rwxr-xr-xtools/benchmark-conf-to-json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/benchmark-conf-to-json.py b/tools/benchmark-conf-to-json.py
index 033a0f94..a2e3547c 100755
--- a/tools/benchmark-conf-to-json.py
+++ b/tools/benchmark-conf-to-json.py
@@ -208,7 +208,7 @@ if __name__ == '__main__':
if len(values) >= 14:
bench['PointerBits'] = int(values[13])
if len(values) >= 15:
- bench['DataFromSuperUser'] = int(values[14])
+ bench['DataFromSuperUser'] = int(values[14]) != 0
if len(values) >= 16:
bench['PhysicalMemoryInMiB'] = int(values[15])
if len(values) >= 17: