From 26c7b0e0d7ffc52b2aa49af16f69f7f52cede739 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Sat, 11 Oct 2014 23:08:35 -0400 Subject: [PATCH] fix target level verification check --- analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze.py b/analyze.py index bde397e..da958f1 100755 --- a/analyze.py +++ b/analyze.py @@ -303,7 +303,7 @@ def process_results(data, level=None, do_json=False): json_output['level'] = evaluate_all(results) json_output['target_level'] = level json_output['compliance'] = False - if json_output['level'] == json_output['target_level']: + if json_output['target_level'] in json_output['level']: json_output['compliance'] = True if operator: json_output['operator'] = operator