Skip to content

Commit

Permalink
Write csv file as UTF8 (Resolves issue CaliDog#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
smiba authored Jan 24, 2020
1 parent c748e3a commit 679e457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axeman/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def process_worker(result_info, output_dir="/tmp"):

print("[{}] Finished, writing CSV...".format(os.getpid()))

with open(csv_file, 'w') as f:
with open(csv_file, 'w', encoding='utf8') as f:
f.write("".join(lines))
print("[{}] CSV {} written!".format(os.getpid(), csv_file))

Expand Down

1 comment on commit 679e457

@smiba
Copy link
Owner Author

@smiba smiba commented on 679e457 Jan 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ignore this commit, it should refer to issue 13, not 12 :)

Excuse being that its 2AM where I'm at haha

Please sign in to comment.