mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 21:14:00 +00:00
fix issue #54
This commit is contained in:
@@ -67,6 +67,9 @@ class Updater:
|
|||||||
self.log.dbg('updating {} from {}'.format(dotfile, path))
|
self.log.dbg('updating {} from {}'.format(dotfile, path))
|
||||||
|
|
||||||
right = os.path.join(self.conf.abs_dotpath(self.dotpath), dotfile.src)
|
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
|
# go through all files and update
|
||||||
if os.path.isdir(path):
|
if os.path.isdir(path):
|
||||||
return self._handle_dir(left, right)
|
return self._handle_dir(left, right)
|
||||||
|
|||||||
Reference in New Issue
Block a user