更新 transfer.py
This commit is contained in:
parent
b72aa314b6
commit
4f26f0607a
@ -173,7 +173,9 @@ class TransferChain(ChainBase):
|
|||||||
|
|
||||||
# 整理屏蔽词不处理
|
# 整理屏蔽词不处理
|
||||||
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, file_path_str):
|
if keyword and re.findall(keyword, file_path_str):
|
||||||
logger.info(f"{file_path} 命中整理屏蔽词 {keyword},不处理")
|
logger.info(f"{file_path} 命中整理屏蔽词 {keyword},不处理")
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user