Merge pull request #435 from thsrite/main

This commit is contained in:
jxxghp 2023-09-04 20:24:39 +08:00 committed by GitHub
commit 87ece98471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ class DownloadChain(ChainBase):
download_path = download_dir / _file_list[0] if _file_list else download_dir download_path = download_dir / _file_list[0] if _file_list else download_dir
# 登记下载记录 # 登记下载记录
self.downloadhis.add( self.downloadhis.add(
path=download_path, path=str(download_path),
type=_media.type.value, type=_media.type.value,
title=_media.title, title=_media.title,
year=_media.year, year=_media.year,