This commit is contained in:
Mahan Noorbahr 2026-05-03 08:55:53 -07:00 committed by GitHub
commit 4ab1b80d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)