mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 18:37:07 +08:00
one more cleanup
This commit is contained in:
parent
e98b52bf53
commit
2deb55df06
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user