We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee0cb80 + e9510f3 commit e4db008Copy full SHA for e4db008
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.parse 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