fix file unlock
Some checks failed
Mypy / mypy (push) Failing after 45s
Pytest / pytest (3.12) (push) Failing after 2s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s

This commit is contained in:
Justus Kuhlmann 2026-03-06 15:35:49 +01:00
commit b51a69bc69
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -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