mirror of
https://github.com/clearml/clearml
synced 2025-02-01 01:26:49 +00:00
Fix local StorageHelper.delete() raising exception on non existing file instead of returning false
This commit is contained in:
parent
69846d200a
commit
1a0a7b6738
@ -2201,6 +2201,8 @@ class _FileStorageDriver(_Driver):
|
|||||||
|
|
||||||
:return: True on success.
|
:return: True on success.
|
||||||
"""
|
"""
|
||||||
|
if not obj:
|
||||||
|
return False
|
||||||
|
|
||||||
path = self.get_object_cdn_url(obj)
|
path = self.get_object_cdn_url(obj)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user