mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-17 10:30:19 +00:00
Fix for linefeeds on python 3.x
This commit is contained in:
parent
853968efbc
commit
631f7eda74
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user