Fix for linefeeds on python 3.x

This commit is contained in:
Sam Colwell committed 2019-02-09 21:36:38 -05:00
1 parent 853968efbc
commit 631f7eda74
1 file changed
+3 -2
+3 -2
View File
@@ -187,8 +187,9 @@ else:
except:
pass
if char == "\n":
char = "\r"
# Convert linefeeds to carriage returns.
if char != '' and ord(char) == 10:
char = '\r'
return char