fix: format
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
value = frappe.db.get_single_value("LMS Settings", "portal_course_creation")
|
||||
if value == "Course Instructor Role":
|
||||
frappe.db.set_value("LMS Settings", None, "portal_course_creation", "Course Creator Role")
|
||||
frappe.db.set_value(
|
||||
"LMS Settings", None, "portal_course_creation", "Course Creator Role"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user