mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix StorageManager: always makes sure local destination folder exists
This commit is contained in:
parent
c433f8e575
commit
85f6e48d52
@ -674,6 +674,10 @@ class StorageHelper(object):
|
||||
# chunks size is ignored and always 5Mb
|
||||
chunk_size_mb = 5
|
||||
|
||||
# make sure we have the destination folder
|
||||
# noinspection PyBroadException
|
||||
Path(temp_local_path).parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# try to get file size
|
||||
try:
|
||||
if isinstance(self._driver, _HttpDriver) and obj:
|
||||
|
Loading…
Reference in New Issue
Block a user