mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-18 10:51:20 +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))
|
logging.debug("recursive file list on directory {}".format(directory))
|
||||||
|
|
||||||
async def proc_subdir(path: str):
|
async def proc_subdir(path: str):
|
||||||
try:
|
dirs[path] = await aiofiles.os.path.getmtime(path)
|
||||||
dirs[path] = await aiofiles.os.path.getmtime(path)
|
|
||||||
except FileNotFoundError:
|
|
||||||
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
|
|
||||||
|
|
||||||
def proc_thread():
|
def proc_thread():
|
||||||
asyncio.set_event_loop(asyncio.new_event_loop())
|
asyncio.set_event_loop(asyncio.new_event_loop())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user