Skip to content

Commit

Permalink
typefix
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Nov 3, 2023
1 parent 13720e7 commit d42df57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def glob_translate(pat):
# recursive=True, include_hidden=True, seps=None
"""Translate a pathname with shell wildcards to a regular expression."""
if os.path.altsep:
seps = (os.path.sep, os.path.altsep)
seps = os.path.sep + os.path.altsep
else:
seps = os.path.sep
escaped_seps = "".join(map(re.escape, seps))
Expand Down

0 comments on commit d42df57

Please sign in to comment.