Skip to content

Commit

Permalink
Normalize wildcard paths in open_mfdataset.
Browse files Browse the repository at this point in the history
  • Loading branch information
juseg committed Jan 12, 2021
1 parent 81ed507 commit e378dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ def open_mfdataset(
paths
)
)
paths = sorted(glob(paths))
paths = sorted(glob(_normalize_path(paths)))
else:
paths = [str(p) if isinstance(p, Path) else p for p in paths]

Expand Down

0 comments on commit e378dbc

Please sign in to comment.