mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-09 22:43:44 +08:00
fix #3079
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user