mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-19 05:27:24 +08:00
Merge 8717b26698 into fce0398470
This commit is contained in:
commit
39cfee165d
@ -383,6 +383,7 @@ class UserManager():
|
||||
try:
|
||||
with os.fdopen(fd, "wb") as f:
|
||||
f.write(body)
|
||||
os.chmod(tmp_path, 0o666)
|
||||
os.replace(tmp_path, path)
|
||||
except:
|
||||
os.unlink(tmp_path)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user