1
0
Fork 0
mirror of synced 2024-06-24 00:50:23 +12:00

fix: status was raising error

This commit is contained in:
Cristian 2020-12-31 13:03:53 -05:00
parent a4e1bebc46
commit 9aa934a410

View file

@ -117,7 +117,7 @@ def parse_json_snapshot_details(out_dir: Union[Path, str]) -> Iterator[dict]:
if entry.is_dir(follow_symlinks=True):
if (Path(entry.path) / 'index.json').exists():
try:
snapshot_details = load_json_snapshot_details(entry.path)
snapshot_details = load_json_snapshot(Path(entry.path))
except KeyError:
snapshot_details = None
if snapshot_details: