Commit c940186b authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* call correct method to wrap message on junkreport mail

parent 9dae7aa1
Pipeline #174 failed with stage
in 1 minute and 3 seconds
......@@ -168,7 +168,7 @@ class JunkReport:
def addParagraph(self, text):
self.htmlText = self.htmlText + (u"<p>%s</p>"%(cgi.escape(text)))
self.plainText = self.plainText + (u"%s\n\n"%(self.wrapper(text)))
self.plainText = self.plainText + (u"%s\n\n"%(self.wrapper.fill(text=text)))
def addHtmlTemplate(self, content, clean=None):
self.htmlText = self.htmlText + (content%self.tmpl)
......
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