From aac37504e01f44d4dc9f20eb2fd9beab5f2d1d56 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 22 Oct 2023 14:51:36 +0200 Subject: [PATCH] fix dups --- dotdrop/installer.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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: