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.
2 parents 9f5462b + 5a235f9 commit 188a245Copy full SHA for 188a245
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)
+ 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