style: auto-fix ruff lint and format

This commit is contained in:
github-actions[bot]
2026-02-24 14:29:22 +00:00
parent f38dbc48a9
commit 3f9821b525
2 changed files with 18 additions and 8 deletions

View File

@@ -102,7 +102,11 @@ class AttachmentStorage:
# Save file with restrictive permissions (sensitive email/drive content)
file_path = STORAGE_DIR / save_name
try:
fd = os.open(file_path, os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, 'O_BINARY', 0), 0o600)
fd = os.open(
file_path,
os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_BINARY", 0),
0o600,
)
try:
total_written = 0
data_len = len(file_bytes)