From 02035d071a4e26e872dbc774bfb1caaf3f9e25de Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 7 Feb 2012 17:57:40 +0530 Subject: [PATCH] Fix in import docs containing utf-8 encoding --- erpnext/selling/doctype/customer/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index 42f9ea354b..2c804e5f4f 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -30,7 +30,7 @@ class DocType: supp = supp and supp[0][0] or '' if supp: msgprint("You already have a Supplier with same name") - raise Exception + raise Exception("You already have a Supplier with same name") else: self.doc.name = cust else: