diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index c3bc076..c1266e0 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -332,7 +332,7 @@ def cmd_list_files(opts, conf, templateonly=False): if not Templategen.is_template(src): continue LOG.log('{} (src: \"{}\", link: {})'.format(dotfile.key, dotfile.src, - dotfile.link)) + dotfile.link.name.lower())) LOG.sub('{}'.format(dotfile.dst)) LOG.log('') diff --git a/dotdrop/dotfile.py b/dotdrop/dotfile.py index bf82146..c9a17f5 100644 --- a/dotdrop/dotfile.py +++ b/dotdrop/dotfile.py @@ -37,7 +37,7 @@ class Dotfile: def __str__(self): msg = 'key:\"{}\", src:\"{}\", dst:\"{}\", link:\"{}\"' - return msg.format(self.key, self.src, self.dst, self.link.name) + return msg.format(self.key, self.src, self.dst, self.link.name.lower()) def __eq__(self, other): return self.__dict__ == other.__dict__