Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/setup/doctype/email_digest/email_digest.py b/setup/doctype/email_digest/email_digest.py
index b6ea033..612677d 100644
--- a/setup/doctype/email_digest/email_digest.py
+++ b/setup/doctype/email_digest/email_digest.py
@@ -93,7 +93,7 @@
 		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)