Skip to content

Commit

Permalink
Increment line index each time
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Apr 11, 2024
1 parent 68f17ea commit 97bdee2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wacz/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def validate_pages_jsonl_file(json_file_path):
else:
data["url"]
data["ts"]
line_index += 1
except json.JSONDecodeError:
print(f"File {filename} is invalid JSONL")
return False
Expand Down

0 comments on commit 97bdee2

Please sign in to comment.