Skip to content

Commit

Permalink
49.ant.1 (#50)
Browse files Browse the repository at this point in the history
* Update CompressedFile.py

#49

* Update CHANGELOG.md
  • Loading branch information
antaenc committed Apr 11, 2024
1 parent a0a4870 commit 736353e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
[markdownlint](https://dlaa.me/markdownlint/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.1] - 2024-04-11

### Added to 2.0.1

- Support for .jsonl extensions for G2Loader

## [2.0.0] - 2022-05-04

### Added to 2.0.0
Expand Down
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 736353e

Please sign in to comment.