Skip to content

Commit 361e32a

Browse files
committed
fix test
1 parent 211b38b commit 361e32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datasets/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def download_and_prepare(
663663
fs_token_paths = fsspec.get_fs_token_paths(output_dir, storage_options=storage_options)
664664
self._fs: fsspec.AbstractFileSystem = fs_token_paths[0]
665665
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]
666+
self._output_dir = fs_token_paths[2][0] if is_local else self._fs.unstrip_protocol(fs_token_paths[2][0])
667667

668668
download_mode = DownloadMode(download_mode or DownloadMode.REUSE_DATASET_IF_EXISTS)
669669
verify_infos = not ignore_verifications

0 commit comments

Comments
 (0)