From 8a791bd857af1ae9048b2f30993f4cd9f530b33c Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Tue, 24 Jul 2018 20:22:19 +0200 Subject: [PATCH] fix issue #54 --- dotdrop/updater.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotdrop/updater.py b/dotdrop/updater.py index 74bd133..57c02c4 100644 --- a/dotdrop/updater.py +++ b/dotdrop/updater.py @@ -67,6 +67,9 @@ class Updater: self.log.dbg('updating {} from {}'.format(dotfile, path)) right = os.path.join(self.conf.abs_dotpath(self.dotpath), dotfile.src) + # expands user + left = os.path.expanduser(left) + right = os.path.expanduser(right) # go through all files and update if os.path.isdir(path): return self._handle_dir(left, right)