From 004fcf40071e38d448327319a94d40ea3ef24779 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Mon, 28 Jan 2019 20:16:17 +0100 Subject: [PATCH] fix bug in key update --- dotdrop/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/updater.py b/dotdrop/updater.py index 46a2d40..7417794 100644 --- a/dotdrop/updater.py +++ b/dotdrop/updater.py @@ -116,7 +116,7 @@ class Updater: dotfiles = self.conf.get_dotfiles(profile) subs = [d for d in dotfiles if d.key == key] if not subs: - self.log.err('key \"{}\" not found!'.format(path)) + self.log.err('key \"{}\" not found!'.format(key)) return None if len(subs) > 1: found = ','.join([d.src for d in dotfiles])