fix: linters
This commit is contained in:
@@ -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'")
|
||||
|
||||
Reference in New Issue
Block a user