fix: Keep the whole path on the destination key

pull/26/head
Raphaël Vinot 2020-01-15 15:30:49 +01:00
parent a9b670467a
commit e25acb05d7
1 changed files with 1 additions and 1 deletions

View File

@ -735,7 +735,7 @@ class KittenGroomerFileCheck(KittenGroomerBase):
if not srcpath.is_symlink() and srcpath.is_dir(): if not srcpath.is_symlink() and srcpath.is_dir():
self.logger.add_dir(srcpath) self.logger.add_dir(srcpath)
else: else:
dstpath = dst_dir / srcpath.name dstpath = dst_dir / srcpath
cur_file = File(srcpath, dstpath) cur_file = File(srcpath, dstpath)
self.process_file(cur_file) self.process_file(cur_file)