commit | 64d2fe0ad7d6fb9eb6e73915ebb526c3299869a3 | [log] [tgz] |
---|---|---|
author | scmmishra <scm.mymail@gmail.com> | Mon Apr 22 12:30:08 2019 +0530 |
committer | scmmishra <scm.mymail@gmail.com> | Mon Apr 22 12:30:08 2019 +0530 |
tree | 1ede90bfb2be3c1135bc3d4526749c25d25ea582 | |
parent | 4add826703cfb4f7686a57af43f7da66da1f011c [diff] |
fix: Minor typo
diff --git a/erpnext/www/lms.py b/erpnext/www/lms.py index 4416244..85a4c58 100644 --- a/erpnext/www/lms.py +++ b/erpnext/www/lms.py
@@ -283,7 +283,7 @@ @frappe.whitelist(allow_guest=True) def get_course_details(course_name): try: - course = sfrappe.get_doc('Course', course_name) + course = frappe.get_doc('Course', course_name) return course except: return None