From 45f2c4ee6265a94df995b281cc6f2122b910fa53 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 26 Mar 2015 13:54:10 +0530 Subject: [PATCH] [print-format-builder] fixed left column, email alert fix --- frappe/email/doctype/email_alert/email_alert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/doctype/email_alert/email_alert.py b/frappe/email/doctype/email_alert/email_alert.py index e0a777538f..4b4065791f 100644 --- a/frappe/email/doctype/email_alert/email_alert.py +++ b/frappe/email/doctype/email_alert/email_alert.py @@ -27,7 +27,7 @@ def trigger_email_alerts(doc, method=None): # don't send email alerts while syncing or patching return - if method = "daily": + if method == "daily": for alert in frappe.db.sql_list("""select name from `tabEmail Alert` where event in ('Days Before', 'Days After') and enabled=1"""):