mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 19:07:08 +08:00
actually, removing old tmpdir isn't needed
I tested - downloader code handles this case well already (also rmdir was wrong func anyway, needed shutil.rmtree if it had content)
This commit is contained in:
parent
762c267821
commit
c942b6c935
@ -169,8 +169,6 @@ class FrontendManager:
|
||||
)
|
||||
if not os.path.exists(web_root):
|
||||
tmp_path = web_root + ".tmp"
|
||||
if os.path.exists(tmp_path):
|
||||
os.rmdir(tmp_path)
|
||||
try:
|
||||
os.makedirs(tmp_path, exist_ok=True)
|
||||
logging.info(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user