From bd4d0e45ca6575b3a6488824c85fc56196dba4c8 Mon Sep 17 00:00:00 2001 From: Manas Solanki Date: Tue, 18 Jul 2017 17:51:26 +0530 Subject: [PATCH] fix error in email queue (#3728) --- frappe/email/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/email/queue.py b/frappe/email/queue.py index dbbec7bd12..be7f3f9f7d 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -495,6 +495,7 @@ def prepare_message(email, recipient, recipients_list): 'fcontent': fcontent, 'parent': msg_obj }) + attachment.pop("fid", None) add_attachment(**attachment) return msg_obj.as_string()