-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the windows line endings in the CSVCallback. (#11124)
* Fix a bug to write no-need blank line each line on windows * Fixed the windows line endings in the CSVCallback. * Converted strings to unicode when using python 2. * Fixed the unicode issue by opening in binary mode. * Used six to simplify the compatibility issues. * Fixed the py2 issue with endline not available for binary mode.
- Loading branch information
1 parent
5b62434
commit f60313e
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters