From 04bb79111ba67d1890a72b2d9c1e23e585705f5d Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 25 Nov 2025 16:58:17 -0700 Subject: [PATCH] Skip scan when folders are created --- main.py | 1 + 1 file changed, 1 insertion(+) 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()