mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 22:28:24 +00:00
Fixed NameError handling
This commit is contained in:
@@ -15,7 +15,7 @@ def install(company):
|
||||
for d in docs:
|
||||
try:
|
||||
frappe.get_doc(d).insert()
|
||||
except NameError:
|
||||
except frappe.NameError:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user