diff options
Diffstat (limited to 'inc/heartbleed.py')
-rw-r--r-- | inc/heartbleed.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/heartbleed.py b/inc/heartbleed.py index 8d194d5..64431ad 100644 --- a/inc/heartbleed.py +++ b/inc/heartbleed.py @@ -195,10 +195,10 @@ def store_results(host_name, current_status): changelog_entry = [current_time, current_status] host['changelog'].append(changelog_entry) host['status'] = current_status - with open(opts.log_file, 'a') as f: - message = "{current_time} {host} {current_status}".format(**locals()) - f.write(message + "\n") - return message + #with open(opts.log_file, 'a') as f: + #message = "{current_time} {host} {current_status}".format(**locals()) + #f.write(message + "\n") + return message def scan_host(host): |