fix: linters

This commit is contained in:
Jannat Patel
2023-01-04 16:29:07 +05:30
parent b970eb1541
commit ec31c96120

View File

@@ -1,7 +1,10 @@
import frappe
def execute():
rows = frappe.db.sql("select field from `tabSingles` where doctype='User'", as_dict = True)
rows = frappe.db.sql(
"select field from `tabSingles` where doctype='User'", as_dict=True
)
if len(rows):
frappe.db.sql("delete from `tabSingles` where doctype='User'")