Skip to content

Commit 69f4fe8

Browse files
authored
Stringify url in url_to_fs (#1591)
1 parent b532078 commit 69f4fe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fsspec/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def url_to_fs(url, **kwargs):
379379
urlpath : str
380380
The file-systems-specific URL for ``url``.
381381
"""
382+
url = stringify_path(url)
382383
# non-FS arguments that appear in fsspec.open()
383384
# inspect could keep this in sync with open()'s signature
384385
known_kwargs = {

0 commit comments

Comments
 (0)