From a12e9f70a1a87de5cdd7ddfdfc0cedf4be6a5416 Mon Sep 17 00:00:00 2001 From: pemontto Date: Mon, 8 Apr 2019 18:38:03 +1000 Subject: [PATCH] Remove redundant param --- vulnwhisp/frameworks/nessus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulnwhisp/frameworks/nessus.py b/vulnwhisp/frameworks/nessus.py index 3dfdcd5..783f2f5 100755 --- a/vulnwhisp/frameworks/nessus.py +++ b/vulnwhisp/frameworks/nessus.py @@ -143,8 +143,8 @@ class NessusAPI(object): if counter % 60 == 0: self.logger.info("Completed: {}".format(counter)) self.logger.info("Done: {}".format(counter)) - if profile=='tenable': - content = self.request(self.EXPORT_FILE_DOWNLOAD.format(scan_id=scan_id, file_id=file_id), method='GET', download=True) + if profile == 'tenable': + content = self.request(self.EXPORT_FILE_DOWNLOAD.format(file_id=file_id), method='GET', download=True) else: content = self.request(self.EXPORT_TOKEN_DOWNLOAD.format(token_id=token_id), method='GET', download=True) return content