mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix path substitution for file:// URIs (#1251)
Co-authored-by: Michael Mueller <michael.mueller@wsa.com>
This commit is contained in:
parent
6ae74972a6
commit
7fcd315c4e
@ -2815,7 +2815,7 @@ class StorageHelper(object):
|
|||||||
:param str path: file path to check access to
|
:param str path: file path to check access to
|
||||||
:return: Return the string representation of the file as path if have access to it, else None
|
:return: Return the string representation of the file as path if have access to it, else None
|
||||||
"""
|
"""
|
||||||
|
path = self._canonize_url(path)
|
||||||
return self._driver.get_direct_access(path)
|
return self._driver.get_direct_access(path)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user