1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00
This commit is contained in:
Kelly Brazil
2021-10-26 12:24:37 -07:00
parent a2d90f4dfc
commit 4d04866f48

View File

@ -106,6 +106,7 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False):
temp_list.append(line)
# check for Python bug that does not split on `\r` newlines from sys.stdin correctly
# https://bugs.python.org/issue45617
if len(temp_list) == 1:
raise ParseError('Unable to detect line endings. Please try the non-streaming CSV parser instead.')