lint: fix spelling in comment

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
This commit is contained in:
Chinmay D. Pai 2021-01-11 13:15:05 +05:30
parent fed664a443
commit 66016ea76c
No known key found for this signature in database
GPG key ID: 75507BE256F40CED

View file

@ -19,7 +19,7 @@ from frappe.model.base_document import get_controller
@frappe.read_only()
def get():
args = get_form_params()
# If virtual doctype get data from controller het_list method
# If virtual doctype get data from controller get_list method
if frappe.db.get_value("DocType", filters={"name": args.doctype}, fieldname="is_virtual"):
controller = get_controller(args.doctype)
data = compress(controller(args.doctype).get_list(args))