From 4eb9d84d8b8967365c5e061171b4ef2a5bbf8e12 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 1 Apr 2024 22:29:24 +0530 Subject: [PATCH] chore: fixed semgrep --- lms/www/lms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")