diff --git a/ee/core/logwatch.py b/ee/core/logwatch.py index 2c76be26..818f50d3 100644 --- a/ee/core/logwatch.py +++ b/ee/core/logwatch.py @@ -49,7 +49,7 @@ class LogWatcher(object): # assert (os.path.isdir(self.folder), "%s does not exists" # % self.folder) for file in self.filelist: - assert (os.path.isfile(file), "%s does not exists" % file) + assert (os.path.isfile(file)) assert callable(callback) self.update_files() # The first time we run the script we move all file markers at EOF.