Added some debugging
This commit is contained in:
@@ -178,6 +178,10 @@ class Handler(watchdog.events.PatternMatchingEventHandler):
|
||||
path.replace(destination)
|
||||
|
||||
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__":
|
||||
event_handler = Handler()
|
||||
|
||||
Reference in New Issue
Block a user