Update vulnwhisp.py

This commit is contained in:
Austin Taylor
2018-03-05 07:03:49 -05:00
committed by GitHub
parent f83a5d89a3
commit 3984c879cd

View File

@ -715,6 +715,7 @@ class vulnWhispererOpenVAS(vulnWhispererBase):
if output_format == 'json': if output_format == 'json':
with open(relative_path_name, 'w') as f: with open(relative_path_name, 'w') as f:
f.write(vuln_ready.to_json(orient='records', lines=True)) f.write(vuln_ready.to_json(orient='records', lines=True))
f.write('\n')
print('{success} - Report written to %s'.format(success=bcolors.SUCCESS) \ print('{success} - Report written to %s'.format(success=bcolors.SUCCESS) \
% report_name) % report_name)