Skip to content

Commit

Permalink
convert known formats to list
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbreckenridge committed Sep 7, 2023
1 parent 3f39e63 commit b0d87f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browserexport/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _read_json_lines(fp: TextIO) -> Iterator[Dict[str, Any]]:
yield json.loads(line)


KNOWN_FORMATS = {".json", ".jsonl", ".json.gz", ".jsonl.gz"}
KNOWN_FORMATS = [".json", ".jsonl", ".json.gz", ".jsonl.gz"]


def _is_known_format(path: PathIsh) -> bool:
Expand Down

0 comments on commit b0d87f6

Please sign in to comment.