From 41c9a4d23fa5c9df58ceef85d6a2e35934827a59 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 17 Dec 2018 20:29:09 -0700 Subject: [PATCH] Fixed only showing non-empty graph lines --- .bin/Scripts/functions/hw_diags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 85c4d86e..30220583 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -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