mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 14:19:16 +00:00
ensure abs path when importing for #60
This commit is contained in:
@@ -257,6 +257,7 @@ def importer(opts, conf, paths):
|
||||
LOG.err('\"{}\" does not exist, ignored !'.format(path))
|
||||
continue
|
||||
dst = path.rstrip(os.sep)
|
||||
dst = os.path.abspath(dst)
|
||||
src = dst
|
||||
if dst.startswith(home):
|
||||
src = dst[len(home):]
|
||||
|
||||
Reference in New Issue
Block a user