Fixed only showing non-empty graph lines

This commit is contained in:
2Shirt 2018-12-17 20:29:09 -07:00
parent 8c5820d5aa
commit 41c9a4d23f
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1064,7 +1064,7 @@ def run_io_benchmark(state, test):
# Add horizontal graph to report
for line in generate_horizontal_graph(test.merged_rates):
if not re.match(r'^\s+$', line):
if not re.match(r'^\s+$', strip_colors(line)):
test.report.append(line)
# Add read speeds to report