mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 17:49:01 +00:00
expanduser for presence
This commit is contained in:
@@ -190,7 +190,7 @@ def compare(opts, conf, tmp, focus=None, ignore=[]):
|
|||||||
if opts['debug']:
|
if opts['debug']:
|
||||||
LOG.dbg('comparing {}'.format(dotfile))
|
LOG.dbg('comparing {}'.format(dotfile))
|
||||||
src = dotfile.src
|
src = dotfile.src
|
||||||
if not os.path.lexists(dotfile.dst):
|
if not os.path.lexists(os.path.expanduser(dotfile.dst)):
|
||||||
LOG.emph('\"{}\" does not exist on local\n'.format(dotfile.dst))
|
LOG.emph('\"{}\" does not exist on local\n'.format(dotfile.dst))
|
||||||
|
|
||||||
tmpsrc = None
|
tmpsrc = None
|
||||||
|
|||||||
Reference in New Issue
Block a user