Minor fix in setup wizard

This commit is contained in:
Nabin Hait 2014-10-13 11:32:41 +05:30
parent bc8b20ae3c
commit 3d3f0bcf54

View File

@ -78,6 +78,7 @@ def setup_account(args=None):
frappe.db.commit() frappe.db.commit()
except: except:
if args:
traceback = frappe.get_traceback() traceback = frappe.get_traceback()
for hook in frappe.get_hooks("setup_wizard_exception"): for hook in frappe.get_hooks("setup_wizard_exception"):
frappe.get_attr(hook)(traceback, args) frappe.get_attr(hook)(traceback, args)