From 761b67003b37e5d951593ec0f15c728f2a07eead Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sat, 8 Oct 2016 18:20:50 +0200 Subject: [PATCH] problems with state --- controller/state/file.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/controller/state/file.py b/controller/state/file.py index f635dde..9bbe285 100644 --- a/controller/state/file.py +++ b/controller/state/file.py @@ -9,10 +9,8 @@ class File(object): self.filename = filename def present(self): - result = os.path.isfile(self.filename) - print "File %s" % self.filename - print result - result + return os.path.isfile(self.filename) + def load(self): if self.filename is None: