Commit e7e28d66 authored by Jérome Perrin's avatar Jérome Perrin

payroll: python3

parent a7c6ea48
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