fix: patch format
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
if frappe.db.count("LMS Course") and frappe.db.count("Course Chapter") \
|
if (
|
||||||
and frappe.db.count("Course Lesson") and frappe.db.count("LMS Quiz"):
|
frappe.db.count("LMS Course")
|
||||||
|
and frappe.db.count("Course Chapter")
|
||||||
|
and frappe.db.count("Course Lesson")
|
||||||
|
and frappe.db.count("LMS Quiz")
|
||||||
|
):
|
||||||
frappe.db.set_value("LMS Settings", None, "is_onboarding_complete", True)
|
frappe.db.set_value("LMS Settings", None, "is_onboarding_complete", True)
|
||||||
|
|||||||
Reference in New Issue
Block a user