fix issue #110 (one line)

This commit is contained in:
Quim
2019-02-08 10:56:32 +01:00
parent 699fc75446
commit 4ea384c9cc

View File

@ -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)))