Skip to content

Commit

Permalink
Updates for when the root is not specified. The manifest file is alwa…
Browse files Browse the repository at this point in the history
…ys an OpenFile.
  • Loading branch information
gdoermann committed May 30, 2024
1 parent c4e4606 commit b416662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifestly/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def load(self):
self.manifest = {}
if self.root is None:
# Resolve the root path from the manifest file
fs, path = fsspec.core.url_to_fs(self.manifest_file)
fs, path = fsspec.core.url_to_fs(self.manifest_file.path)
self.root = fs._parent(path)

@classmethod
Expand Down

0 comments on commit b416662

Please sign in to comment.