From d20ec25c92788764275faf9bdf90fecdefd234b4 Mon Sep 17 00:00:00 2001 From: CH Date: Thu, 6 Apr 2017 19:14:58 +0200 Subject: [PATCH] Removal of double brackets to setup the chart of accounts in the setup wizard --- erpnext/setup/setup_wizard/setup_wizard.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py index 922479c8ee..f68ac343ec 100644 --- a/erpnext/setup/setup_wizard/setup_wizard.py +++ b/erpnext/setup/setup_wizard/setup_wizard.py @@ -89,7 +89,7 @@ def create_fiscal_year_and_company(args): 'default_currency':args.get('currency'), 'country': args.get('country'), 'create_chart_of_accounts_based_on': 'Standard Template', - 'chart_of_accounts': args.get(('chart_of_accounts')), + 'chart_of_accounts': args.get('chart_of_accounts'), 'domain': args.get('domain') }).insert() @@ -607,5 +607,3 @@ def create_room(args): room.save() except frappe.DuplicateEntryError: pass - -