fix: #2963 可能存在问题的修复

`def get_dir`引用只存在与下载相关模块中, 尝试删除公测看反馈
This commit is contained in:
Attente
2024-10-29 00:49:36 +08:00
parent e9a6f08cc8
commit 1c00c47a9b

View File

@@ -65,7 +65,7 @@ class DirectoryHelper:
dirs = self.get_dirs()
# 按照配置顺序查找
for d in dirs:
if not d.download_path or not d.library_path:
if not d.download_path:
continue
# 下载目录
download_path = Path(d.download_path)