From d811303d7ba11e50af920ee73387ac75471a3faa Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 21 May 2014 12:36:43 +0530 Subject: [PATCH] minor fix --- erpnext/patches/v4_0/update_account_root_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v4_0/update_account_root_type.py b/erpnext/patches/v4_0/update_account_root_type.py index 8b3eddfebd..a93b835e29 100644 --- a/erpnext/patches/v4_0/update_account_root_type.py +++ b/erpnext/patches/v4_0/update_account_root_type.py @@ -36,4 +36,4 @@ def execute(): frappe.db.sql("""UPDATE tabAccount SET root_type=%s WHERE lft>%s and rgt<%s""", (root.root_type, root.lft, root.rgt)) else: - print "Root type not found for {0}".format(root.name) + print b"Root type not found for {0}".format(root.name.encode("utf-8"))