mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
fix: lms dynamic path fetching
This commit is contained in:
+4
-1
@@ -15,7 +15,10 @@ app_license = "AGPL"
|
||||
|
||||
|
||||
def get_lms_path():
|
||||
return (frappe.conf.get("lms_path") if frappe.conf else "lms").strip("/")
|
||||
path = "lms"
|
||||
if frappe.conf and frappe.conf.get("lms_path"):
|
||||
path = frappe.conf.get("lms_path")
|
||||
return path.strip("/")
|
||||
|
||||
|
||||
# Includes in <head>
|
||||
|
||||
Reference in New Issue
Block a user