We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211b38b commit 361e32aCopy full SHA for 361e32a
src/datasets/builder.py
@@ -663,7 +663,7 @@ def download_and_prepare(
663
fs_token_paths = fsspec.get_fs_token_paths(output_dir, storage_options=storage_options)
664
self._fs: fsspec.AbstractFileSystem = fs_token_paths[0]
665
is_local = not is_remote_filesystem(self._fs)
666
- self._output_dir = self._fs._strip_protocol(fs_token_paths[2][0]) if is_local else fs_token_paths[2][0]
+ self._output_dir = fs_token_paths[2][0] if is_local else self._fs.unstrip_protocol(fs_token_paths[2][0])
667
668
download_mode = DownloadMode(download_mode or DownloadMode.REUSE_DATASET_IF_EXISTS)
669
verify_infos = not ignore_verifications
0 commit comments