diff --git a/main.py b/main.py index 36f53ac..648d012 100644 --- a/main.py +++ b/main.py @@ -63,6 +63,7 @@ def main(): new_dir_path = new_dir_path_bytes.decode('utf-8') logging.info(f"New directory {new_dir_path} detected, adding watches.") add_watch_recursive(inotify, new_dir_path, watch_flags) + continue if timer: timer.cancel()