From 5019b7c49b91a4a2ed26dd0331b3bd886ece0173 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 9 Sep 2017 11:07:23 +0200 Subject: [PATCH] fix wrong return value with focus --- dotdrop/dotdrop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 7169faf..64593a7 100755 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -116,7 +116,7 @@ def compare(opts, conf, tmp, focus=None): LOG.log('diffing \"%s\" VS \"%s\"' % (dotfile.key, dotfile.dst)) LOG.emph(diff) - return len(dotfiles) > 0 + return len(selected) > 0 def importer(opts, conf, paths):