Browse Source

minor change

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

2
ee/core/logwatch.py

@ -49,7 +49,7 @@ class LogWatcher(object):
# assert (os.path.isdir(self.folder), "%s does not exists" # assert (os.path.isdir(self.folder), "%s does not exists"
# % self.folder) # % self.folder)
for file in self.filelist: for file in self.filelist:
assert (os.path.isfile(file), "%s does not exists" % file) assert (os.path.isfile(file))
assert callable(callback) assert callable(callback)
self.update_files() self.update_files()
# The first time we run the script we move all file markers at EOF. # The first time we run the script we move all file markers at EOF.

Loading…
Cancel
Save