diff --git a/app/helper/directory.py b/app/helper/directory.py index e8b923d5..411943ce 100644 --- a/app/helper/directory.py +++ b/app/helper/directory.py @@ -151,8 +151,8 @@ class DirectoryHelper: if not matchs: continue # 处理特例,有的人重命名的第一层是年份、分辨率 - if any("title" in m for m in matchs) \ - and not any("season" in m for m in matchs): + if (any("title" in m for m in matchs) + and not any("season" in m for m in matchs)): # 找出最后一层含有标题且不含季参数的目录作为媒体根目录 rename_format_level = level break