From 5dfe65f8f90dab0bb38cc6712dbbb7eb22ddb92b Mon Sep 17 00:00:00 2001 From: shariquerik Date: Tue, 15 Jun 2021 21:23:38 +0530 Subject: [PATCH] fix: sider fix --- frappe/templates/includes/comments/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/templates/includes/comments/comments.py b/frappe/templates/includes/comments/comments.py index 773f50e327..77082c6e3b 100644 --- a/frappe/templates/includes/comments/comments.py +++ b/frappe/templates/includes/comments/comments.py @@ -13,7 +13,7 @@ from frappe import _ def add_comment(comment, comment_email, comment_by, reference_doctype, reference_name, route): doc = frappe.get_doc(reference_doctype, reference_name) - if not doc.doctype in ['Blog Post', 'Web Page']: + if doc.doctype not in ['Blog Post', 'Web Page']: return if not comment.strip():