diff --git a/py/information.py b/py/information.py index d217796..7a99872 100644 --- a/py/information.py +++ b/py/information.py @@ -386,7 +386,7 @@ class Information: model_base_paths = utils.resolve_model_base_paths() for model_type in model_base_paths: - folders, extensions = folder_paths.folder_names_and_paths[model_type] + folders, *others = folder_paths.folder_names_and_paths[model_type] for path_index, base_path in enumerate(folders): files = utils.recursive_search_files(base_path, request) diff --git a/py/manager.py b/py/manager.py index 53a2b8e..785a5ab 100644 --- a/py/manager.py +++ b/py/manager.py @@ -117,7 +117,7 @@ class ModelManager: result = [] include_hidden_files = utils.get_setting_value(request, "scan.include_hidden_files", False) - folders, extensions = folder_paths.folder_names_and_paths[folder] + folders, *others = folder_paths.folder_names_and_paths[folder] def get_file_info(entry: os.DirEntry[str], base_path: str, path_index: int): fullname = utils.normalize_path(entry.path).replace(f"{base_path}/", "")