From 6429d7f067e12becd99f86dc187c942fafa242d1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 1 Aug 2016 20:07:53 +0530 Subject: [PATCH] [fix] [email] tests --- frappe/email/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/queue.py b/frappe/email/queue.py index bf708d954b..84bb8ec959 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -289,7 +289,7 @@ def send_one(email, smtpserver=None, auto_commit=True, now=False): '''Send Email Queue with given smtpserver''' email = frappe.db.sql('''select name, status, communication, - message, sender, recipient, reference_doctype, + message, sender, recipient, reference_doctype from `tabEmail Queue` where name=%s for update''', email, as_dict=True)[0] if email.status != 'Not Sent': # rollback to release lock and return