Browse Source

Exanduser when moving paths

pull/10/head
Ryan Reed 1 year ago
parent
commit
7a58647b4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/transpose/utils.py

+ 1
- 1
src/transpose/utils.py View File

@ -7,7 +7,7 @@ def move(source: Path, destination: Path) -> None:
"""
Move a file using pathlib
"""
shutil.move(source, destination)
shutil.move(source.expanduser(), destination.expanduser())
def remove(path: Path) -> None:


Loading…
Cancel
Save