|
@ -48,7 +48,7 @@ class LogWatcher(object): |
|
|
self.extensions = extensions |
|
|
self.extensions = extensions |
|
|
# 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 files in self.filelist: |
|
|
for file in self.filelist: |
|
|
assert (os.path.isfile(file), "%s does not exists" % file) |
|
|
assert (os.path.isfile(file), "%s does not exists" % file) |
|
|
assert callable(callback) |
|
|
assert callable(callback) |
|
|
self.update_files() |
|
|
self.update_files() |
|
|