mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 10:24:17 +00:00
fix printing link status
This commit is contained in:
@@ -360,7 +360,7 @@ def cmd_detail(opts, conf, keys=None):
|
|||||||
def _detail(dotpath, dotfile):
|
def _detail(dotpath, dotfile):
|
||||||
"""print details on all files under a dotfile entry"""
|
"""print details on all files under a dotfile entry"""
|
||||||
LOG.log('{} (dst: \"{}\", link: {})'.format(dotfile.key, dotfile.dst,
|
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))
|
path = os.path.join(dotpath, os.path.expanduser(dotfile.src))
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
template = 'no'
|
template = 'no'
|
||||||
|
|||||||
Reference in New Issue
Block a user