更新 __init__.py

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

View File

@ -411,9 +411,6 @@ class FileTransferModule(_ModuleBase):
if not target_dir.media_type and target_dir.auto_category: if not target_dir.media_type and target_dir.auto_category:
# 一级自动分类 # 一级自动分类
download_dir = Path(target_dir.path) / mediainfo.type.value download_dir = Path(target_dir.path) / mediainfo.type.value
elif target_dir.media_type:
# 一级自定义分类
download_dir = Path(target_dir.path) / target_dir.media_type
else: else:
download_dir = Path(target_dir.path) download_dir = Path(target_dir.path)