更新 download.py

This commit is contained in:
jxxghp 2024-05-23 10:05:07 +08:00 committed by GitHub
parent bd1e83ee8a
commit 21861111e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,9 +243,6 @@ class DownloadChain(ChainBase):
if not dir_info.media_type and dir_info.auto_category:
# 一级自动分类
download_dir = Path(dir_info.path) / _media.type.value
elif dir_info.media_type:
# 一级自定义分类
download_dir = Path(dir_info.path) / dir_info.media_type
else:
# 一级不分类
download_dir = Path(dir_info.path)