Skip to content

Commit 1918145

Browse files
authored
fix simplecache cat_ranges (#1892)
1 parent 852f892 commit 1918145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fsspec/implementations/cached.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ def cat_ranges(
886886
rpaths = [p for l, p in zip(lpaths, paths) if l is False]
887887
lpaths = [l for l, p in zip(lpaths, paths) if l is False]
888888
self.fs.get(rpaths, lpaths)
889+
paths = [self._check_file(p) for p in paths]
889890
return LocalFileSystem().cat_ranges(
890891
paths, starts, ends, max_gap=max_gap, on_error=on_error, **kwargs
891892
)

0 commit comments

Comments
 (0)