Skip to content

Commit b5da511

Browse files
authored
Adapt glob to be compatible with the latest fsspec version (#133)
1 parent 39a5b5d commit b5da511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spatialpandas/io/parquet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ def _perform_read_parquet_dask(
346346
datasets = []
347347
for path in paths:
348348
if filesystem.isdir(path):
349-
path = f"{path}/**.parquet"
349+
path = path.rstrip('/')
350+
path = f"{path}/**/*.parquet"
350351
if has_magic(path):
351352
path = _expand_path(path, filesystem)
352353
d = ParquetDataset(

0 commit comments

Comments
 (0)