Fix: use float parsing for importer manifest records with a passphrase

This commit is contained in:
Trenton H committed 2026-10-18 14:58:42 -07:00
1 parent 41498113d3
commit c6f83cc1a0
2 files changed
+40 -1

No files matched your search

@@ -66,7 +66,7 @@ def iter_manifest_records(path: Path) -> Generator[dict, None, None]:
"""Yield records one at a time from a manifest JSON array via ijson."""
try:
with path.open("rb") as f:
yield from ijson.items(f, "item")
yield from ijson.items(f, "item", use_float=True)
except ijson.JSONError as e:
raise CommandError(f"Failed to parse manifest file {path}: {e}") from e