[minor] Setup Wizard sample data: Clear Fiscal Year Error message

This commit is contained in:
Anand Doshi 2016-02-10 14:16:01 +05:30
parent bb514467f6
commit 4fcf7bf01a

View File

@ -48,6 +48,10 @@ def setup_complete(args=None):
make_sample_data()
frappe.clear_cache()
except FiscalYearError:
# clear message
if frappe.message_log:
frappe.message_log.pop()
pass