Browse Source

minor fix

bugfixes
harshadyeola 10 years ago
parent
commit
ff00553d2a
  1. 2
      ee/core/logwatch.py

2
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()

Loading…
Cancel
Save