change break condition
This commit is contained in:
1 parent
735eb762b3
commit
40b64248e3
1 file changed
+1
-1
@@ -141,7 +141,7 @@ def parse_json():
|
|||||||
|
|
||||||
# first pass, collect all headers
|
# first pass, collect all headers
|
||||||
for topLevelItem in ijson.items(open(input_path / input_files[0]), "item"):
|
for topLevelItem in ijson.items(open(input_path / input_files[0]), "item"):
|
||||||
if parsed > args.metadata:
|
if parsed == args.metadata:
|
||||||
print(f"parsed {parsed} records for metadata")
|
print(f"parsed {parsed} records for metadata")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user