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 fb88d1d commit 5a235f9Copy full SHA for 5a235f9
templateflow/api.py
@@ -291,8 +291,8 @@ def _s3_get(filepath):
291
from tqdm import tqdm
292
import requests
293
294
- path = str(filepath.relative_to(TF_LAYOUT.root))
295
- url = "%s/%s" % (TF_S3_ROOT, path.replace("\\", "/"))
+ path = filepath.relative_to(TF_LAYOUT.root).as_posix()
+ url = f"{TF_S3_ROOT}/{path}"
296
297
print("Downloading %s" % url, file=stderr)
298
# Streaming, so we can iterate over the response.
0 commit comments