From 8fa34d7974ee32bebfa335560d5fd102b8d0df08 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 1 Mar 2021 15:38:24 -0500 Subject: [PATCH] fix: Text comparison should be done with `==` not via is. `is` will check if two objects are the same whereas `==` will check if their values are the same which is what we want here. --- lms/templates/problem_notifications.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/problem_notifications.html b/lms/templates/problem_notifications.html index cbb20d7ce9..afa717fbc9 100644 --- a/lms/templates/problem_notifications.html +++ b/lms/templates/problem_notifications.html @@ -9,7 +9,7 @@ ${notification_message}
- % if notification_name is 'hint': + % if notification_name == 'hint':