mirror of
https://github.com/clearml/clearml
synced 2025-03-03 10:42:00 +00:00
Fix wrong path for downloading the content
This commit is contained in:
parent
074fa48cdd
commit
62946c04f1
@ -279,7 +279,7 @@ class StorageManager(object):
|
||||
remote_path = os.path.join(helper.base_url, path)
|
||||
if match_wildcard and not fnmatch.fnmatch(remote_path, match_wildcard):
|
||||
continue
|
||||
local_url = remote_path.replace(remote_url, local_folder)
|
||||
local_url = os.path.join(local_folder, remote_path[len(remote_url):].lstrip(os.path.sep))
|
||||
if not os.path.exists(local_url) or os.path.getsize(local_url) == 0:
|
||||
results.append(
|
||||
pool.apply_async(
|
||||
|
Loading…
Reference in New Issue
Block a user