diff --git a/lms/www/lms.py b/lms/www/lms.py index db7a0d61..ac3d83ce 100644 --- a/lms/www/lms.py +++ b/lms/www/lms.py @@ -14,7 +14,7 @@ def get_context(): else: context.meta = {} csrf_token = frappe.sessions.get_csrf_token() - frappe.db.commit() + frappe.db.commit() # nosemgrep context.csrf_token = csrf_token if frappe.session.user != "Guest": capture("active_site", "lms")