We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee0cb80 commit 8efe107Copy full SHA for 8efe107
1 file changed
templateflow/api.py
@@ -309,11 +309,12 @@ def _datalad_get(filepath):
309
310
def _s3_get(filepath):
311
from sys import stderr
312
+ from urllib.request import quote
313
314
import requests
315
from tqdm import tqdm
316
- path = filepath.relative_to(TF_LAYOUT.root).as_posix()
317
+ path = quote(filepath.relative_to(TF_LAYOUT.root).as_posix())
318
url = f'{TF_S3_ROOT}/{path}'
319
320
print(f'Downloading {url}', file=stderr)
0 commit comments