From 9a8e0a256a75cdd5f7538866fa40d985a606a25b Mon Sep 17 00:00:00 2001 From: Attente <19653207+wikrin@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:58:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E5=AA=92=E4=BD=93=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E9=80=9A=E8=BF=87=E9=80=92=E5=BD=92?= =?UTF-8?q?=E5=88=97=E5=87=BA=E7=9B=AE=E5=BD=95=E4=B8=AD=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=96=87=E4=BB=B6,=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=8D=E5=88=B0`Seasion=20X`=E7=9B=AE=E5=BD=95=E4=B8=8B?= =?UTF-8?q?=E5=AA=92=E4=BD=93=E6=96=87=E4=BB=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/filemanager/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/filemanager/__init__.py b/app/modules/filemanager/__init__.py index 67073f09..7cca140b 100644 --- a/app/modules/filemanager/__init__.py +++ b/app/modules/filemanager/__init__.py @@ -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 From 3909bb6393d0f39e6b7994d18df8d994d2d08471 Mon Sep 17 00:00:00 2001 From: Attente <19653207+wikrin@users.noreply.github.com> Date: Mon, 14 Oct 2024 05:44:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E4=BB=B6=E5=8A=A0=E8=BD=BD=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20-=20=E4=BF=AE=E6=AD=A3=E5=93=88?= =?UTF-8?q?=E5=B8=8C=E5=80=BC=E5=AD=97=E6=AE=B5=E5=90=8D=20=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E5=AD=98=E5=9C=A8=E7=9A=84=E9=97=AE=E9=A2=98:=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E7=BD=91=E7=BB=9C=E8=8E=B7=E5=8F=96=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/subscribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/subscribe.py b/app/chain/subscribe.py index 92f46e31..c31500f7 100644 --- a/app/chain/subscribe.py +++ b/app/chain/subscribe.py @@ -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: # 识别文件名