mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-28 03:27:09 +08:00
add code comment
This commit is contained in:
parent
c942b6c935
commit
8b69f86e00
@ -168,6 +168,7 @@ class FrontendManager:
|
|||||||
Path(cls.CUSTOM_FRONTENDS_ROOT) / provider.folder_name / semantic_version
|
Path(cls.CUSTOM_FRONTENDS_ROOT) / provider.folder_name / semantic_version
|
||||||
)
|
)
|
||||||
if not os.path.exists(web_root):
|
if not os.path.exists(web_root):
|
||||||
|
# Use tmp path until complete to avoid path exists check passing from interrupted downloads
|
||||||
tmp_path = web_root + ".tmp"
|
tmp_path = web_root + ".tmp"
|
||||||
try:
|
try:
|
||||||
os.makedirs(tmp_path, exist_ok=True)
|
os.makedirs(tmp_path, exist_ok=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user