diff --git a/ee/core/logwatch.py b/ee/core/logwatch.py index 8392a0cc..2c76be26 100644 --- a/ee/core/logwatch.py +++ b/ee/core/logwatch.py @@ -48,7 +48,7 @@ class LogWatcher(object): self.extensions = extensions # assert (os.path.isdir(self.folder), "%s does not exists" # % self.folder) - for files in self.filelist: + for file in self.filelist: assert (os.path.isfile(file), "%s does not exists" % file) assert callable(callback) self.update_files()