Commit 5eff6bb3 authored by ale's avatar ale

print post-processed summary

parent b7f8bc5b
......@@ -98,8 +98,8 @@ def main():
files = scanfn(args, opts.includes, opts.excludes)
scan_results = clamav.clamscan(files)
if scan_results:'found new viruses:\n%s', json.dumps(scan_results, indent=4))
data = process_scan_results(scan_results)'found new viruses:\n%s', json.dumps(data, indent=4))
submit(data, opts.submit_url)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment