Skip to content

Commit

Permalink
Undo unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Jan 23, 2024
1 parent 7c4145a commit 895cd0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion audb/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def cached(
sampling_rate None
""" # noqa: E501
cache_root = audeer.path(cache_root) or default_cache_root(shared=shared)
cache_root = audeer.path(cache_root or default_cache_root(shared=shared))

columns = [
"name",
Expand Down
6 changes: 4 additions & 2 deletions audb/core/load_to.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ def job(path: str):
version,
tmp_root=db_root_tmp,
)
src_path = audeer.path(db_root_tmp, path)
dst_path = audeer.path(db_root, path)
audeer.move_file(
audeer.path(db_root_tmp, path),
audeer.path(db_root, path),
src_path,
dst_path,
)

audeer.run_tasks(
Expand Down

0 comments on commit 895cd0d

Please sign in to comment.