Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Merge 332d9c6 into 84901b6
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Dec 19, 2017
2 parents 84901b6 + 332d9c6 commit 00d88eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rho/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def process_discovery_scan(line):
if hosts_processed % 5 == 0 and print_status:
if log_path is not None:
with open(log_path, 'ab') as logfile:
logfile.write('******* %s *******' % (str(datetime.now())))
logfile.write('******* %s *******' %
(str(datetime.now()).encode('utf-8')))
logfile.flush()
print(_('%d hosts processed with credential %s. ' %
(hosts_processed, rho_cred)))
Expand Down

0 comments on commit 00d88eb

Please sign in to comment.