1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 03:54:47 +00:00

expanduser for presence

This commit is contained in:
deadc0de6
2018-07-21 13:31:44 +02:00
parent 83b468e2ba
commit 5e3283e629

View File

@@ -190,7 +190,7 @@ def compare(opts, conf, tmp, focus=None, ignore=[]):
if opts['debug']:
LOG.dbg('comparing {}'.format(dotfile))
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))
tmpsrc = None