From 29851c2e95fe8180895a1c47716005f05078734b Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 21 Oct 2021 21:37:00 +0200 Subject: [PATCH] properly clean --- dotdrop/installer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 37e99f4..fd2a69a 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -647,7 +647,8 @@ class Installer: ret = utils.fastdiff(src, dst) if ret: self.log.dbg('content differ') - utils.removepath(tmp) + if content: + utils.removepath(tmp) return ret def _show_diff_before_write(self, src, dst, content=None):