From a32eb6600300d6351666ba6f1b695c3663338d4b Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Wed, 30 Dec 2015 06:43:10 -0500 Subject: Fix typo in state check function --- dotfiles/dotfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/dotfile.py b/dotfiles/dotfile.py index 0fd117f..b13882c 100644 --- a/dotfiles/dotfile.py +++ b/dotfiles/dotfile.py @@ -42,7 +42,7 @@ class Dotfile: return '(unknown)' def invalid(self): - return self.state != '(ok)' + return self.state() != '(ok)' def add(self): if self.target.check(exists=1): -- cgit v1.2.3