diff --git a/app/modules/filemanager/__init__.py b/app/modules/filemanager/__init__.py index d9d713f27..c3c451da4 100644 --- a/app/modules/filemanager/__init__.py +++ b/app/modules/filemanager/__init__.py @@ -130,7 +130,6 @@ def recommend_name(self, meta: MetaBase, mediainfo: MediaInfo) -> Optional[str]: ) return str(path) - pass def save_config(self, storage: str, conf: Dict) -> None: """ @@ -218,7 +217,8 @@ def __any_file(_item: FileItem): and f".{t.extension.lower()}" in extensions): return True elif t.type == "dir": - return __any_file(t) + if __any_file(t): + return True return False # θΏ”ε›žη»“ζžœ