From 0eb53752752e91bafd7e0eb983f401732f6bb86a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 May 2025 04:26:13 +0530 Subject: [PATCH] ... --- src/calibre/gui2/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/email.py b/src/calibre/gui2/email.py index d33e3ae379..587ddad357 100644 --- a/src/calibre/gui2/email.py +++ b/src/calibre/gui2/email.py @@ -164,8 +164,8 @@ def send_mails(jobnames, callback, attachments, to_s, subjects, # these companies employ to write their code. It's the height of # irony that they are called "tech" companies. # https://bugs.launchpad.net/calibre/+bug/1989282 - from calibre.utils.short_uuid import uuid4 if not is_for_kindle(to): + from calibre.utils.short_uuid import uuid4 # Amazon nowadays reads metadata from attachment filename instead of # file internal metadata so don't nuke the filename. # https://www.mobileread.com/forums/showthread.php?t=349290