Skip to content

Commit

Permalink
fix issue #110 (one line)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmontal committed Feb 8, 2019
1 parent 699fc75 commit 4ea384c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vulnwhisp/vulnwhisp.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ def whisper_nessus(self):
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)))
Expand Down

0 comments on commit 4ea384c

Please sign in to comment.