mirror of
https://github.com/mnaberez/py65.git
synced 2024-06-01 18:41:32 +00:00
Fix for linefeeds on python 3.x
This commit is contained in:
parent
853968efbc
commit
631f7eda74
|
@ -187,8 +187,9 @@ else:
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if char == "\n":
|
# Convert linefeeds to carriage returns.
|
||||||
char = "\r"
|
if char != '' and ord(char) == 10:
|
||||||
|
char = '\r'
|
||||||
return char
|
return char
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user