diff --git a/filecheck/filecheck.py b/filecheck/filecheck.py index 543842b..3a9467d 100644 --- a/filecheck/filecheck.py +++ b/filecheck/filecheck.py @@ -735,7 +735,7 @@ class KittenGroomerFileCheck(KittenGroomerBase): if not srcpath.is_symlink() and srcpath.is_dir(): self.logger.add_dir(srcpath) else: - dstpath = dst_dir / srcpath.name + dstpath = dst_dir / srcpath cur_file = File(srcpath, dstpath) self.process_file(cur_file)