Commit 0ca422e9 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

payroll: python3

parent 79ddb813
from Products.ERP5Type.Utils import str2unicode
import unicodedata
data = unicodedata.normalize('NFKD', context.getTextContent().decode('utf-8')).encode('iso-8859-1', 'ignore')
data = unicodedata.normalize('NFKD', str2unicode(context.getTextContent())).encode('iso-8859-1', 'ignore')
# Update sending mode "on the fly"
dsn_line_list = data.split(b'\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