This commit is contained in:
jxxghp
2024-11-15 08:03:23 +08:00
parent 00f1f06e3d
commit 8e4bce2f95
2 changed files with 9 additions and 8 deletions

View File

@@ -115,6 +115,8 @@ class StorageChain(ChainBase):
if not state:
logger.warn(f"{fileitem.storage}{fileitem.path} 删除失败")
return False
if fileitem.type == "dir":
return True
# 上级目录
if mtype and mtype == MediaType.TV:
dir_path = Path(fileitem.path).parent.parent