Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Feb 14, 2024
1 parent b11e8d0 commit 0350a24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zarr/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
path) and a `getsize` method (return the size in bytes of a given value).
"""

import atexit
import errno
import glob
Expand Down Expand Up @@ -1410,8 +1411,8 @@ def _normalize_key(self, key):
self._attrs_key,
".zmetadata", # see: #1121
):
end = end.replace('.', self.key_separator)
key = '/'.join(bits + [end])
end = end.replace(".", self.key_separator)
key = "/".join(bits + [end])

return key.lower() if self.normalize_keys else key

Expand Down

0 comments on commit 0350a24

Please sign in to comment.