From e1f35c86db3c76342aeba7ebf31a5c9db34f0966 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 11 Apr 2025 18:43:34 +0530 Subject: [PATCH] fix: empty meta info issue --- lms/www/lms.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/www/lms.py b/lms/www/lms.py index c0445361..01259fe2 100644 --- a/lms/www/lms.py +++ b/lms/www/lms.py @@ -28,7 +28,8 @@ def get_context(): def get_meta(app_path, title, favicon, description): - meta = {} + meta = frappe._dict() + if app_path: meta = get_meta_from_document(app_path) @@ -273,3 +274,5 @@ def get_meta_from_document(app_path): "keywords": "All Programs, Programs, Learn", "link": "/programs", } + + return {}