mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
Merge pull request #3193 from wikrin/fix_any_files
This commit is contained in:
@@ -130,7 +130,6 @@ class FileManagerModule(_ModuleBase):
|
|||||||
)
|
)
|
||||||
return str(path)
|
return str(path)
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
def save_config(self, storage: str, conf: Dict) -> None:
|
def save_config(self, storage: str, conf: Dict) -> None:
|
||||||
"""
|
"""
|
||||||
@@ -218,7 +217,8 @@ class FileManagerModule(_ModuleBase):
|
|||||||
and f".{t.extension.lower()}" in extensions):
|
and f".{t.extension.lower()}" in extensions):
|
||||||
return True
|
return True
|
||||||
elif t.type == "dir":
|
elif t.type == "dir":
|
||||||
return __any_file(t)
|
if __any_file(t):
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# 返回结果
|
# 返回结果
|
||||||
|
|||||||
Reference in New Issue
Block a user