fix: Convert indentation to tabs

This commit is contained in:
Aradhya-Tripathi 2021-07-23 23:31:44 +05:30
parent 2f3371d873
commit a86d717f17

View file

@ -28,10 +28,10 @@ def update_feed(doc, method=None):
doctype = feed.doctype or doc.doctype
name = feed.name or doc.name
frappe.db.delete("Activity Log", {
"reference_doctype": doctype,
"reference_name": name,
"link_doctype": feed.link_doctype
})
"reference_doctype": doctype,
"reference_name": name,
"link_doctype": feed.link_doctype
})
# frappe.db.sql("""delete from `tabActivity Log`
# where
# reference_doctype=%s and reference_name=%s