stupid fix to prevent crash (refs #542)

This commit is contained in:
juke 2011-03-29 15:28:49 +02:00 committed by Romain Bignon
commit 8aa3cfa4e1

View file

@ -266,6 +266,9 @@ class Monboob(ReplApplication):
body = mail.content
content_type = 'plain'
if body is None:
body = ''
if mail.signature:
if int(self.config.get('html')) and mail.flags & mail.IS_HTML:
body += u'<p>-- <br />%s</p>' % mail.signature