Revert part of commit 43b3392162, so that we still send if there are no PGP recipients.

This commit is contained in:
perennate 2013-08-09 14:35:57 +08:00
parent 955f8b8c9f
commit 980ee8c407
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if raw_message.has_key('X-GPG-Encrypt-Cc'):
def send_msg( message, recipients = None ):
if recipients == None:
return
recipients = to_addrs
if cfg.has_key('logging') and cfg['logging'].has_key('file'):
log = open(cfg['logging']['file'], 'a')
log.write("Sending email to: <%s>\n" % '> <'.join( recipients ))