fix read of 'html' config value (cast it to integer)
This commit is contained in:
parent
fb4bc04707
commit
3d4e9f2bb1
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class Monboob(ConsoleApplication):
|
|||
content_type = 'plain'
|
||||
|
||||
if mail.get_signature():
|
||||
if (self.config.get('html')) and mail.is_html:
|
||||
if int(self.config.get('html')) and mail.is_html:
|
||||
body += u'<p>-- <br />%s</p>' % mail.get_signature()
|
||||
else:
|
||||
body += u'\n\n-- \n'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue