fix file unlock
This commit is contained in:
parent
b2ac8939a3
commit
b51a69bc69
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ def unlock(path: str, file: str) -> None:
|
||||||
"""
|
"""
|
||||||
tracker = get_tracker(path)
|
tracker = get_tracker(path)
|
||||||
if tracker == 'datalad':
|
if tracker == 'datalad':
|
||||||
dl.unlock(file, dataset=path)
|
dl.unlock(os.path.join(path, file), dataset=path)
|
||||||
elif tracker == 'None':
|
elif tracker == 'None':
|
||||||
Warning("Tracker 'None' does not implement unlock.")
|
Warning("Tracker 'None' does not implement unlock.")
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue