Merge pull request #2337 from shreyasp/translations-setup-wizard

[Fix] Setup wizard exception fix for unique_module_name_standard
This commit is contained in:
Nabin Hait 2016-11-17 15:52:18 +05:30 committed by GitHub
commit 01fe4b665f

View file

@ -193,6 +193,10 @@ def set_desktop_icons(visible_list, ignore_duplicate=True):
except frappe.UniqueValidationError, e:
if not ignore_duplicate:
raise e
else:
visible_list.remove(module_name)
if frappe.message_log:
frappe.message_log.pop()
# set the order
set_order(visible_list)