fix: linters
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
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):
|
if len(rows):
|
||||||
frappe.db.sql("delete from `tabSingles` where doctype='User'")
|
frappe.db.sql("delete from `tabSingles` where doctype='User'")
|
||||||
|
|||||||
Reference in New Issue
Block a user