Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix opening the output file in either normal or binary mode
Fix the etree in python lxml wanting to have the file opened in the 'wb' mode. Fixes the 'TypeError: write() argument must be str, not bytes' error message but retains compatibility if lxml would be missing. Closes issues tjfontaine#26 and tjfontaine#28
- Loading branch information