Commit 3d4e9f2b authored by Romain Bignon's avatar Romain Bignon

fix read of 'html' config value (cast it to integer)

parent fb4bc047
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment