diff --git a/lms/patches/v0_0/user_singles_issue.py b/lms/patches/v0_0/user_singles_issue.py index fde32f1c..8a0fdd1a 100644 --- a/lms/patches/v0_0/user_singles_issue.py +++ b/lms/patches/v0_0/user_singles_issue.py @@ -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'")