mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix dirmonitor exclude_words
This commit is contained in:
+1
-1
@@ -298,7 +298,7 @@ class Monitor(metaclass=Singleton):
|
|||||||
for keyword in transfer_exclude_words:
|
for keyword in transfer_exclude_words:
|
||||||
if not keyword:
|
if not keyword:
|
||||||
continue
|
continue
|
||||||
if keyword and re.search(r"%s" % keyword, event_path, re.IGNORECASE):
|
if keyword and re.search(r"%s" % keyword, str(event_path), re.IGNORECASE):
|
||||||
logger.info(f"{event_path} 命中整理屏蔽词 {keyword},不处理")
|
logger.info(f"{event_path} 命中整理屏蔽词 {keyword},不处理")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user