Remove redundant param

This commit is contained in:
pemontto
2019-04-08 18:38:03 +10:00
parent 873066a419
commit a12e9f70a1

View File

@ -144,7 +144,7 @@ class NessusAPI(object):
self.logger.info("Completed: {}".format(counter)) self.logger.info("Completed: {}".format(counter))
self.logger.info("Done: {}".format(counter)) self.logger.info("Done: {}".format(counter))
if profile == 'tenable': if profile == 'tenable':
content = self.request(self.EXPORT_FILE_DOWNLOAD.format(scan_id=scan_id, file_id=file_id), method='GET', download=True) content = self.request(self.EXPORT_FILE_DOWNLOAD.format(file_id=file_id), method='GET', download=True)
else: else:
content = self.request(self.EXPORT_TOKEN_DOWNLOAD.format(token_id=token_id), method='GET', download=True) content = self.request(self.EXPORT_TOKEN_DOWNLOAD.format(token_id=token_id), method='GET', download=True)
return content return content