From 4ea384c9ccc3253f38c9ad7da7dd24d072652fa3 Mon Sep 17 00:00:00 2001 From: Quim Date: Fri, 8 Feb 2019 10:56:32 +0100 Subject: [PATCH] fix issue #110 (one line) --- vulnwhisp/vulnwhisp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vulnwhisp/vulnwhisp.py b/vulnwhisp/vulnwhisp.py index 11805a2..a728896 100755 --- a/vulnwhisp/vulnwhisp.py +++ b/vulnwhisp/vulnwhisp.py @@ -318,8 +318,7 @@ class vulnWhispererNessus(vulnWhispererBase): all_scans = self.scan_count(scans) if self.uuids: scan_list = [scan for scan in all_scans if scan['uuid'] - not in self.uuids and scan['status'] - == 'completed'] + not in self.uuids and scan['status'] in ['completed', 'imported']] else: scan_list = all_scans self.logger.info('Identified {new} scans to be processed'.format(new=len(scan_list)))