fix downloading

This commit is contained in:
jxxghp
2023-07-07 07:07:13 +08:00
parent 19217de7d8
commit 517f83ae61
3 changed files with 4 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class DownloadChain(ChainBase):
if _hash:
# 登记下载记录
self.downloadhis.add(
path=_folder_name,
path=_folder_name or _torrent.title,
type=_media.type.value,
title=_media.title,
year=_media.year,