Skip to content

Commit d200d3a

Browse files
committed
change inotify flag to stop helper sending too many issues
1 parent 157cb87 commit d200d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
wait_between_attempts = 0.1
4949

5050
picture_watcher.watch(
51-
alias="image", path=img_input_file, flags=aionotify.Flags.MODIFY
51+
alias="image", path=img_input_file, flags=aionotify.Flags.CLOSE_WRITE
5252
) # sets up watcher
5353

5454

0 commit comments

Comments
 (0)