|
@ -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. |
|
|