aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2015-12-30 06:43:10 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2015-12-30 07:30:06 -0500
commita32eb6600300d6351666ba6f1b695c3663338d4b (patch)
tree344304624bdc37cf17b11ef69899839343f76c31
parent51128934d96bdda824a67b6d35ffed997e887839 (diff)
downloaddotfiles-a32eb6600300d6351666ba6f1b695c3663338d4b.tar.gz
dotfiles-a32eb6600300d6351666ba6f1b695c3663338d4b.tar.bz2
dotfiles-a32eb6600300d6351666ba6f1b695c3663338d4b.zip
Fix typo in state check function
-rw-r--r--dotfiles/dotfile.py2
1 files changed, 1 insertions, 1 deletions
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):