Browse Source

[FIX] Deletes an unnecessary function call

pull/347/head
omar7r 7 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
604e11fb14
  1. 2
      report_py3o/models/py3o_report.py

2
report_py3o/models/py3o_report.py

@ -67,7 +67,7 @@ def py3o_report_extender(report_xml_id=None):
def format_multiline_value(value): def format_multiline_value(value):
if value: if value:
return Markup(unicode(value).replace('<', '&lt;').replace('>', '&gt;').
return Markup(value.replace('<', '&lt;').replace('>', '&gt;').
replace('\n', '<text:line-break/>'). replace('\n', '<text:line-break/>').
replace('\t', '<text:s/><text:s/><text:s/><text:s/>')) replace('\t', '<text:s/><text:s/><text:s/><text:s/>'))
return "" return ""

Loading…
Cancel
Save