Skip to content

Commit

Permalink
Merge 73f0adb into 97a8fba
Browse files Browse the repository at this point in the history
  • Loading branch information
bradcray committed Jan 17, 2019
2 parents 97a8fba + 73f0adb commit 796d702
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion emailer.py
Expand Up @@ -129,7 +129,11 @@ def _send_email(msg_info):
logging.error('sender and recipient config vars must be set.')
raise ValueError('sender and recipient config vars must be set.')

recipient_cc = os.environ.get('GITHUB_COMMIT_EMAILER_RECIPIENT_CC', None)
recipient_ccs = os.environ.get('GITHUB_COMMIT_EMAILER_RECIPIENT_CC', None)
if recipient_ccs is not None:
recipient_cc = recipient_ccs.split(",")
else:
recipient_cc = None
reply_to = os.environ.get('GITHUB_COMMIT_EMAILER_REPLY_TO', None)
approved = os.environ.get('GITHUB_COMMIT_EMAILER_APPROVED_HEADER', None)
subject = _get_subject(msg_info['repo'], msg_info['message'])
Expand Down

0 comments on commit 796d702

Please sign in to comment.