Fixed NameError handling

This commit is contained in:
Anand Doshi
2014-04-23 13:41:28 +05:30
parent b054eb7a4f
commit f50a65294f
4 changed files with 671 additions and 671 deletions

View File

@@ -15,7 +15,7 @@ def install(company):
for d in docs:
try:
frappe.get_doc(d).insert()
except NameError:
except frappe.NameError:
pass