Skip to content

Commit c3fba07

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 24e8008 commit c3fba07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/backends/zarr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ def _build_group_members(
22932293
group_paths: list[str],
22942294
parent: str | None,
22952295
) -> dict[str, ZarrGroup]:
2296-
parent = parent if parent else "/"
2296+
parent = parent or "/"
22972297
group_members: dict[str, ZarrGroup] = {}
22982298

22992299
for path in group_paths:

0 commit comments

Comments
 (0)