Skip to content

Commit bd2224f

Browse files
committed
Fix broken async reference file system _cat_file method
1 parent 97a2168 commit bd2224f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsspec/implementations/reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ async def _cat_file(self, path, start=None, end=None, **kwargs):
803803
return part_or_url[start:end]
804804
protocol, _ = split_protocol(part_or_url)
805805
try:
806-
await self.fss[protocol]._cat_file(part_or_url, start=start, end=end)
806+
return await self.fss[protocol]._cat_file(part_or_url, start=start, end=end)
807807
except Exception as e:
808808
raise ReferenceNotReachable(path, part_or_url) from e
809809

0 commit comments

Comments
 (0)