mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
更新 __init__.py
This commit is contained in:
@@ -217,7 +217,9 @@ class DirMonitor(_PluginBase):
|
|||||||
# 整理屏蔽词不处理
|
# 整理屏蔽词不处理
|
||||||
transfer_exclude_words = self.systemconfig.get(SystemConfigKey.TransferExcludeWords)
|
transfer_exclude_words = self.systemconfig.get(SystemConfigKey.TransferExcludeWords)
|
||||||
if transfer_exclude_words:
|
if transfer_exclude_words:
|
||||||
for keyword in transfer_exclude_words.split("\n"):
|
for keyword in transfer_exclude_words:
|
||||||
|
if not keyword:
|
||||||
|
continue
|
||||||
if keyword and re.findall(keyword, event_path):
|
if keyword and re.findall(keyword, event_path):
|
||||||
logger.info(f"{event_path} 命中整理屏蔽词 {keyword},不处理")
|
logger.info(f"{event_path} 命中整理屏蔽词 {keyword},不处理")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user