diff --git a/bin/filecheck.py b/bin/filecheck.py index 171b5ff..acc160d 100644 --- a/bin/filecheck.py +++ b/bin/filecheck.py @@ -500,6 +500,7 @@ class KittenGroomerFileCheck(KittenGroomerBase): self.process_archive(file) elif file.should_copy: self.safe_copy(file.src_path, file.dst_path) + file.set_property('copied', True) file.write_log() if hasattr(file, 'tempdir_path'): self.safe_rmtree(file.tempdir_path) diff --git a/kittengroomer/helpers.py b/kittengroomer/helpers.py index a358813..cf6309f 100644 --- a/kittengroomer/helpers.py +++ b/kittengroomer/helpers.py @@ -321,7 +321,6 @@ class KittenGroomerBase(object): dst_path, filename = os.path.split(dst) self.safe_mkdir(dst_path) shutil.copy(src, dst) - self.set_property('copied', True) except Exception as e: self.add_error(e, '')