From ec31c96120643a8a1e7db1e170f30c079808d5d5 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 4 Jan 2023 16:29:07 +0530 Subject: [PATCH] fix: linters --- lms/patches/v0_0/user_singles_issue.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'")