mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
* fix: LiveCodeSession reference error and UI loading state * fix: remove trailing slash from livecode_url in LMS Settings and add patch to update existing records * fix: remove reload function in patch file and update live_code_url default value by administrator --------- Co-authored-by: Jannat Patel <31363128+pateljannat@users.noreply.github.com>
8 lines
244 B
Python
8 lines
244 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
livecode_url = frappe.db.get_single_value("LMS Settings", "livecode_url")
|
|
if livecode_url == "https://falcon.frappe.io/":
|
|
frappe.db.set_single_value("LMS Settings", "livecode_url", "https://falcon.frappe.io")
|