From e97dce34470390dc4729a38aa5080b5d5bc1b70b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 15 Nov 2012 10:08:21 +0530 Subject: [PATCH] bugfix in email digest --- setup/doctype/email_digest/email_digest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/doctype/email_digest/email_digest.py b/setup/doctype/email_digest/email_digest.py index b6ea0334a7..612677d81a 100644 --- a/setup/doctype/email_digest/email_digest.py +++ b/setup/doctype/email_digest/email_digest.py @@ -93,7 +93,7 @@ class DocType: return self.get_msg_html(out) def get_msg_html(self, out): - with_value = [o[1] for o in out if o[0] + with_value = [o[1] for o in out if o[0]] if with_value: with_value = "\n".join(with_value)