mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 16:04:00 +00:00
fix bug in key update
This commit is contained in:
@@ -116,7 +116,7 @@ class Updater:
|
|||||||
dotfiles = self.conf.get_dotfiles(profile)
|
dotfiles = self.conf.get_dotfiles(profile)
|
||||||
subs = [d for d in dotfiles if d.key == key]
|
subs = [d for d in dotfiles if d.key == key]
|
||||||
if not subs:
|
if not subs:
|
||||||
self.log.err('key \"{}\" not found!'.format(path))
|
self.log.err('key \"{}\" not found!'.format(key))
|
||||||
return None
|
return None
|
||||||
if len(subs) > 1:
|
if len(subs) > 1:
|
||||||
found = ','.join([d.src for d in dotfiles])
|
found = ','.join([d.src for d in dotfiles])
|
||||||
|
|||||||
Reference in New Issue
Block a user