Commit 908a46cf authored by Jérome Perrin's avatar Jérome Perrin

payroll: python3

parent 4915c0b5
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