if recipients only then try to send email digest
diff --git a/setup/doctype/email_digest/email_digest.py b/setup/doctype/email_digest/email_digest.py
index 9c5a24f..017001d 100644
--- a/setup/doctype/email_digest/email_digest.py
+++ b/setup/doctype/email_digest/email_digest.py
@@ -56,10 +56,11 @@
 		recipients = filter(lambda r: r in valid_users,
 			self.doc.recipient_list.split("\n"))
 		
-		from webnotes.utils.email_lib import sendmail
-		sendmail(recipients=recipients, subject=(self.doc.frequency + " Digest"),
-			sender="ERPNext Notifications <notifications+email_digest@erpnext.com>",
-			msg=self.get_digest_msg())
+		if recipients:
+			from webnotes.utils.email_lib import sendmail
+			sendmail(recipients=recipients, subject=(self.doc.frequency + " Digest"),
+				sender="ERPNext Notifications <notifications+email_digest@erpnext.com>",
+				msg=self.get_digest_msg())
 				
 	def get_digest_msg(self):
 		""""""