Skip to content

Commit d4a3d28

Browse files
author
elbuo8
committed
Fixed constructor for headers
1 parent 4838ba9 commit d4a3d28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sendgrid/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, **opts):
4545
self.add_bcc(opts.get('bcc', []))
4646
self.reply_to = opts.get('reply_to', '')
4747
self.files = opts.get('files', {})
48-
self.headers = opts.get('headers', '')
48+
self.set_headers(opts.get('headers', ''))
4949
self.date = opts.get('date', rfc822.formatdate())
5050
self.content = opts.get('content', {})
5151
self.smtpapi = opts.get('smtpapi', SMTPAPIHeader())

sendgrid/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (1, 2, 3)
1+
version_info = (1, 2, 4)
22
__version__ = '.'.join(str(v) for v in version_info)

0 commit comments

Comments
 (0)