Skip to content

Commit d825769

Browse files
committed
fixed windows newline support
1 parent 524870d commit d825769

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

stl/stl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ def _ascii_reader(cls, fh, header):
143143
line_separator = b'\r\n'
144144
elif b'\n' in header:
145145
pass
146-
elif b'\r' in header:
147-
line_separator = b'\r'
148146
else:
149147
recoverable = [False]
150148
header += b(fh.read(BUFFER_SIZE))

0 commit comments

Comments
 (0)