From a309a871b557cc9270a9146a69add18212c9cf8e Mon Sep 17 00:00:00 2001 From: Shreya Date: Wed, 24 Jan 2018 13:55:32 +0530 Subject: [PATCH] Codacy fix --- erpnext/patches/v10_0/workflow_leave_application.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/patches/v10_0/workflow_leave_application.py b/erpnext/patches/v10_0/workflow_leave_application.py index 0b13a319ea..4e0d7e427d 100644 --- a/erpnext/patches/v10_0/workflow_leave_application.py +++ b/erpnext/patches/v10_0/workflow_leave_application.py @@ -8,13 +8,13 @@ def execute(): frappe.reload_doc("hr", "doctype", "leave_application") frappe.reload_doc("workflow", "doctype", "workflow") - doc = frappe.get_doc({ + frappe.get_doc({ 'doctype': 'Workflow State', 'workflow_state_name': 'Open', 'style': 'Warning' - }).insert(ignore_permissions=True) + }).insert(ignore_permissions=True) - doc = frappe.get_doc({ + frappe.get_doc({ 'doctype': 'Workflow', 'workflow_name': 'Leave Approval', 'document_type': 'Leave Application',