diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 5f6fea0..b29d9f7 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -137,13 +137,8 @@ class Installer: ret, err, ins = self._copy_dir(templater, src, dst, actionexec=actionexec, noempty=noempty, ignore=ignore, - is_template=is_template) - - ret, err = self._copy_dir(templater, src, dst, - actionexec=actionexec, - noempty=noempty, ignore=ignore, - is_template=is_template, - chmod=chmod) + is_template=is_template, + chmod=chmod) if self.remove_existing_in_dir and ins: self._remove_existing_in_dir(dst, ins) else: