Merge pull request #15633 from Zlash65/setup-fix

[Minor] Setup Wizard failing fix
This commit is contained in:
Saurabh 2018-10-09 17:49:54 +05:30 committed by GitHub
commit f786eccdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def make_tax_account_and_template(company, account_name, tax_rate, template_name
if accounts:
make_sales_and_purchase_tax_templates(accounts, template_name)
except frappe.NameError:
frappe.message_log.pop()
if frappe.message_log: frappe.message_log.pop()
except RootNotEditable:
pass