refactor: Use secrets module for WATCH_PATHS

This commit is contained in:
2025-11-25 15:12:50 -07:00
committed by Tanner Collin (aider)
parent cbab9b3949
commit 8dd622f9cf

View File

@@ -34,7 +34,7 @@ def main():
watch_flags = flags.MODIFY | flags.CREATE | flags.DELETE | flags.MOVED_FROM | flags.MOVED_TO
with INotify() as inotify:
for path in WATCH_PATHS:
for path in secrets.WATCH_PATHS:
logging.info(f"Watching {path}")
inotify.add_watch(path, watch_flags)