fix subscribe api

This commit is contained in:
jxxghp
2024-09-30 13:33:06 +08:00
parent 637e92304f
commit 666f9a536d
4 changed files with 65 additions and 70 deletions

View File

@@ -1093,9 +1093,6 @@ class FileManagerModule(_ModuleBase):
media_path = dir_path / rel_path.parts[0]
else:
continue
# 检查媒体文件夹是否存在
if not media_path.exists():
continue
# 检索媒体文件
fileitem = storage_oper.get_item(media_path)
if not fileitem: