diff --git a/voussoirkit/spinal.py b/voussoirkit/spinal.py index 0fb3f79..ffc4341 100644 --- a/voussoirkit/spinal.py +++ b/voussoirkit/spinal.py @@ -387,12 +387,12 @@ def copy_file( raise ValueError(message) source = pathclass.Path(source) + source.correct_case() if not source.is_file: raise SourceNotFile(source) if destination_new_root is not None: - source.correct_case() destination = new_root(source, destination_new_root) destination = pathclass.Path(destination)