From 984e2c99d25d0d56e443867e9707d393adacf14f Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Tue, 18 Jul 2017 12:44:14 -0700 Subject: [PATCH] Fix check for csv flag --- client/benchmarks/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/benchmarks/runner.py b/client/benchmarks/runner.py index 6651bf9..b6f7bd5 100644 --- a/client/benchmarks/runner.py +++ b/client/benchmarks/runner.py @@ -84,7 +84,7 @@ class BenchmarkRunner(object): # if requested output to CSV, create a queue and collector process csv_queue = None csv_collector = None - if config['benchmark']['csv']: + if 'csv' in config['config'] and config['config']['csv']: csv_queue = Queue() csv_collector = Process(target=csv_collect_results, args=(config_name, csv_queue)) -- 2.39.5