Skip to content

Commit

Permalink
Update CompressedFile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
antaenc committed Apr 11, 2024
1 parent a0a4870 commit f0c070a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompressedFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def write_error(row_num, line, msg='ERROR: Unknown error'):
return None

# Its a JSON string
if fileData['FILE_FORMAT'] == 'JSON':
if fileData['FILE_FORMAT'] in ('JSON', 'JSONL'):
try:
rowData = json.loads(line)
except Exception:
Expand Down

0 comments on commit f0c070a

Please sign in to comment.