fix: linter

This commit is contained in:
Jannat Patel
2024-05-06 16:24:57 +05:30
parent 650f81c22b
commit 5c51e01c78

View File

@@ -2,5 +2,7 @@ import frappe
def execute():
if frappe.db.exists("Role", "Class Evaluator") and not frappe.db.exists("Role", "Batch Evaluator"):
if frappe.db.exists("Role", "Class Evaluator") and not frappe.db.exists(
"Role", "Batch Evaluator"
):
frappe.rename_doc("Role", "Class Evaluator", "Batch Evaluator")