Browse files

handle case if subject none

  • Loading branch information...
1 parent 05bd25b commit 35b871c96fbca66215d56b2e52bcbf1e1b3aa319 @danjac danjac committed Feb 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 pyramid_mailer/message.py
  2. +1 −1 setup.py
View
2 pyramid_mailer/message.py
@@ -59,7 +59,7 @@ def __init__(self,
attachments=None):
- self.subject = subject
+ self.subject = subject or ''
self.sender = sender
self.body = body
self.html = html
View
2 setup.py
@@ -32,7 +32,7 @@
setup(
name='pyramid_mailer',
- version='0.2.2',
+ version='0.2.3',
license='BSD',
author='Dan Jacob',
author_email='danjac354@gmail.com',

0 comments on commit 35b871c

Please sign in to comment.