This commit is contained in:
jxxghp 2024-05-24 11:37:26 +08:00
parent ebc46d7d3b
commit a2b0c9bd3a
2 changed files with 3 additions and 3 deletions

View File

@ -248,8 +248,8 @@ class DownloadChain(ChainBase):
download_dir = Path(dir_info.path)
# 二级目录
if (dir_info.category or dir_info.auto_category) and _media and _media.category:
# 二级目录自动分类
if not dir_info.category and dir_info.auto_category and _media and _media.category:
# 二级自动分类
download_dir = download_dir / _media.category
else:
# 自定义下载目录

View File

@ -414,7 +414,7 @@ class FileTransferModule(_ModuleBase):
else:
download_dir = Path(target_dir.path)
if (target_dir.category or target_dir.auto_category) and mediainfo.category:
if not target_dir.category and target_dir.auto_category and mediainfo.category:
# 二级自动分类
download_dir = download_dir / mediainfo.category