fix #536
This commit is contained in:
@ -223,7 +223,7 @@ class DirMonitor(_PluginBase):
|
||||
for keyword in transfer_exclude_words:
|
||||
if not keyword:
|
||||
continue
|
||||
if keyword and re.findall(keyword, event_path):
|
||||
if keyword and re.search(r"%s" % keyword, event_path, re.IGNORECASE):
|
||||
logger.info(f"{event_path} 命中整理屏蔽词 {keyword},不处理")
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user