Skip to content

Commit

Permalink
fix: #138
Browse files Browse the repository at this point in the history
  • Loading branch information
xi-mad authored and Yuukiy committed Nov 30, 2023
1 parent a0d874c commit 57cd1b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def get_scan_dir(cfg_scan_dir):

def remove_trail_actor_in_title(title:str, actors:list) -> str:
"""寻找并移除标题尾部的女优名"""
if not title:
return title
if not actors:
return title
# 目前使用分隔符白名单来做检测(担心按Unicode范围匹配误伤太多),考虑尽可能多的分隔符
Expand Down

0 comments on commit 57cd1b8

Please sign in to comment.