Skip to content

Commit c8fdc8d

Browse files
committed
excluded opt fix
1 parent 24b7c3e commit c8fdc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs_watcher/watcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def watcher(config):
6868
# Remove watch about excluded dir.
6969
if excluded:
7070
for excluded_dir in excluded:
71-
for (k, v) in wdds[section].items():
71+
for (k, v) in list(wdds[section].items()):
7272
try:
7373
if k.startswith(excluded_dir):
7474
wm.rm_watch(v)

0 commit comments

Comments
 (0)