Added some debugging
This commit is contained in:
parent
1205dddc9e
commit
ed85763ff5
1 changed files with 4 additions and 0 deletions
|
|
@ -178,6 +178,10 @@ class Handler(watchdog.events.PatternMatchingEventHandler):
|
||||||
path.replace(destination)
|
path.replace(destination)
|
||||||
|
|
||||||
logging.info("Processing successfully finished for {}".format(event.src_path))
|
logging.info("Processing successfully finished for {}".format(event.src_path))
|
||||||
|
|
||||||
|
def on_created(self, event):
|
||||||
|
logging.info('{} on {}'.format(event.event_type, event.src_path))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
event_handler = Handler()
|
event_handler = Handler()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue