From 2deb55df0655417948dce14c04f84e43f590b39b Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" Date: Thu, 19 Sep 2024 02:32:07 +0900 Subject: [PATCH] one more cleanup --- folder_paths.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/folder_paths.py b/folder_paths.py index 05b054941..4c4d09477 100644 --- a/folder_paths.py +++ b/folder_paths.py @@ -199,10 +199,7 @@ def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) logging.debug("recursive file list on directory {}".format(directory)) async def proc_subdir(path: str): - try: - dirs[path] = await aiofiles.os.path.getmtime(path) - except FileNotFoundError: - logging.warning(f"Warning: Unable to access {path}. Skipping this path.") + dirs[path] = await aiofiles.os.path.getmtime(path) def proc_thread(): asyncio.set_event_loop(asyncio.new_event_loop())