Update downloadhistory_oper.py

This commit is contained in:
thsrite 2023-09-01 21:12:32 +08:00 committed by GitHub
parent 7b37d86527
commit 9c4aba10bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ class DownloadHistoryOper(DbOper):
按fullpath删除下载文件记录
:param fullpath: 数据key
"""
DownloadFiles.delete_file_by_fullpath(self._db, fullpath)
DownloadFiles.delete_by_fullpath(self._db, fullpath)
def list_by_page(self, page: int = 1, count: int = 30) -> List[DownloadHistory]:
"""