1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

fix printing link status

This commit is contained in:
deadc0de6
2019-02-02 22:12:17 +01:00
parent 0b6098f8b8
commit 21317232a6

View File

@@ -360,7 +360,7 @@ def cmd_detail(opts, conf, keys=None):
def _detail(dotpath, dotfile):
"""print details on all files under a dotfile entry"""
LOG.log('{} (dst: \"{}\", link: {})'.format(dotfile.key, dotfile.dst,
dotfile.link))
dotfile.link.name.lower()))
path = os.path.join(dotpath, os.path.expanduser(dotfile.src))
if not os.path.isdir(path):
template = 'no'