diff --git a/vulnwhisp/frameworks/qualys_web.py b/vulnwhisp/frameworks/qualys_web.py index b52f0ee..d0b11b2 100644 --- a/vulnwhisp/frameworks/qualys_web.py +++ b/vulnwhisp/frameworks/qualys_web.py @@ -110,7 +110,6 @@ class qualysWhisperAPI(object): _records = [] try: total = int(self.get_was_scan_count(status=status)) - self.logger.error('Already have WAS scan count') self.logger.info('Retrieving information for {} scans'.format(total)) for i in range(0, total): if i % limit == 0: @@ -445,7 +444,7 @@ class qualysScanReport: return merged_df def download_file(self, path='', file_id=None): - report = self.qw.download_report(file_id) + report = self.qw.download_report(file_id).encode('utf-8') filename = path + str(file_id) + '.csv' file_out = open(filename, 'w') for line in report.splitlines(): @@ -478,4 +477,4 @@ class qualysScanReport: def transform_values(self, df): self.logger.debug('Transforming values') df.fillna('', inplace=True) - return df \ No newline at end of file + return df