From 3cf35f249635fb62b662cb8032a349f0280db4f9 Mon Sep 17 00:00:00 2001 From: Shreya Shah Date: Tue, 24 Apr 2018 12:20:21 +0530 Subject: [PATCH] fix syntax (#13773) --- erpnext/setup/setup_wizard/operations/install_fixtures.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/setup/setup_wizard/operations/install_fixtures.py b/erpnext/setup/setup_wizard/operations/install_fixtures.py index a7d5fb4dfc0..8f761e59465 100644 --- a/erpnext/setup/setup_wizard/operations/install_fixtures.py +++ b/erpnext/setup/setup_wizard/operations/install_fixtures.py @@ -265,11 +265,11 @@ def install(country=None): base_path = frappe.get_app_path("erpnext", "hr", "doctype") response = frappe.read_file(os.path.join(base_path, "leave_application/leave_application_email_template.html")) - records += {'doctype': 'Email Template', 'name': _("Leave Approval Notification"), 'response': response,\ - 'subject': _("Leave Approval Notification"), 'owner': frappe.session.user} + records += [{'doctype': 'Email Template', 'name': _("Leave Approval Notification"), 'response': response,\ + 'subject': _("Leave Approval Notification"), 'owner': frappe.session.user}] - records += {'doctype': 'Email Template', 'name': _("Leave Status Notification"), 'response': response,\ - 'subject': _("Leave Status Notification"), 'owner': frappe.session.user} + records += [{'doctype': 'Email Template', 'name': _("Leave Status Notification"), 'response': response,\ + 'subject': _("Leave Status Notification"), 'owner': frappe.session.user}] # Records for the Supplier Scorecard from erpnext.buying.doctype.supplier_scorecard.supplier_scorecard import make_default_records