Merge pull request #2849 from wikrin/dev

This commit is contained in:
jxxghp
2024-10-14 06:50:29 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1209,7 +1209,7 @@ class SubscribeChain(ChainBase):
if download_his:
for his in download_his:
# 查询下载文件
files = self.downloadhis.get_files_by_hash(his.hash)
files = self.downloadhis.get_files_by_hash(his.download_hash)
if files:
for file in files:
# 识别文件名

View File

@@ -1104,7 +1104,7 @@ class FileManagerModule(_ModuleBase):
fileitem = storage_oper.get_item(media_path)
if not fileitem:
continue
media_files = storage_oper.list(fileitem)
media_files = self.list_files(fileitem, True)
if media_files:
ret_fileitems.extend(media_files)
return ret_fileitems