Skip to content
Permalink
Browse files

Don't add an extra empty Subject header; only add headers when they d…

…on't already exist.
  • Loading branch information
lamby committed Dec 18, 2019
1 parent 902b0ee commit 51a5799d1816dda155a313d6d20c86d49766e749
Showing with 1 addition and 1 deletion.
  1. +1 −1 tickle-me-email
@@ -647,7 +647,7 @@ class Command:
'Date': email.utils.format_datetime(datetime.datetime.utcnow()),
'Subject': '',
}.items():
if not msg[k]:
if k not in msg:
msg[k] = v

recipients = set(

0 comments on commit 51a5799

Please sign in to comment.
You can’t perform that action at this time.