From a7c377887b3c7aa63b2b6e2b42c73815c179882d Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 20 Mar 2015 15:15:38 +0530 Subject: [PATCH] [test-fix] --- erpnext/crm/doctype/newsletter/newsletter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/newsletter/newsletter.py b/erpnext/crm/doctype/newsletter/newsletter.py index 29376fa045..b1a4bd057c 100644 --- a/erpnext/crm/doctype/newsletter/newsletter.py +++ b/erpnext/crm/doctype/newsletter/newsletter.py @@ -7,7 +7,6 @@ import frappe import frappe.utils from frappe import throw, _ from frappe.model.document import Document -from frappe.utils.verified_command import verify_request import erpnext.tasks class Newsletter(Document): @@ -87,6 +86,7 @@ def get_lead_options(): @frappe.whitelist(allow_guest=True) def unsubscribe(email, name): from frappe.email.bulk import return_unsubscribed_page + from frappe.utils.verified_command import verify_request if not verify_request(): return