Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Taylor Wilsdon
2026-02-24 10:30:36 -04:00
committed by GitHub
parent 2526b87a52
commit 252487fd88

View File

@@ -337,7 +337,7 @@ def _prepare_gmail_message(
.replace("\r", "")
.replace("\n", "")
.replace("\x00", "")
)
) or "attachment"
part.add_header(
"Content-Disposition", "attachment", filename=safe_filename